Function SocketSend() Professional
Sends data to a connected socket.
SocketSend( <nSocket> , ;
<cBuffer> , ;
[<nLength>], ;
[<nFlag>] , ;
[@<nError>] ) --> nBytesWritten
Constant | Description |
---|---|
MSG_NORMAL *) | Sends regular data |
MSG_DONTROUTE | Specifies that the data should not be subject to routing. |
MSG_OOB | Sends out-of-band data (SOCK_STREAM only) |
|
The function returns the number of bytes written to socket, or 0 in case of an error.
SocketSend() is used on connected datagram or stream sockets to write outgoing data on a socket. For datagram sockets, care must be taken not to exceed the maximum IP packet size of the underlying subnets. Excess data will be discarded.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.