TCP/IP Programming Manual

Errors
If an error occurs, the external variable errno is set to one of the following values:
The message was too large to be sent atomically, as required by the socket options.EMSGSIZE
The specified socket was connected.EISCONN
The specified socket was shut down.ESHUTDOWN
The destination network was unreachable.ENETUNREACH
An invalid argument was specified.EINVAL
Usage Guidelines
This is a nowait call; it must be completed with a call to the FILE_AWAITIO64_ procedure.
For a waited call, use sendto64_.
The parameters of the t_sendto_nw64_ function are not compatible with those of the
sendto64_ function in the 4.3 BSD UNIX operating system.
To determine the number of bytes transferred as a result of the t_sendto_nw64_ function,
check the sb_sent field of the sendto_recvfrm_buf structure. This field has the same
definition as the sin_family field of the sockaddr_in structure. After you use this value,
reset the sin_family field to AF_INET.
For information on error checking, see Nowait Call Errors (page 86).
t_sendto_nw64_ 207