int MGOwrite (char *string, int nch)
The MGOwrite() function writes nch characters from string to the server.
Returns the number of characters written upon success (zero indicates nothing was written) or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).