[Overview][Constants][Types][Procedures and functions][Index] |
Send data through socket
Source position: socketsh.inc line 159
function fpsend( |
s: cint; |
msg: pointer; |
len: size_t; |
flags: cint |
):ssize_t; |
fpSend sends Len bytes starting from address Msg to socket S. S must be in a connected state. Options can be passed in Flags.
The function returns the number of bytes sent, or -1 if a detectable error occurred.
Flags can be one of the following:
Errors are reported in SocketError, and include the following:
|
Receive data on socket |