[Overview][Constants][Types][Procedures and functions] | Reference for unit 'Sockets' (#rtl) |
Send data through socket
Source position: socketsh.inc line 181
function Send( |
Sock: LongInt; |
const Buf; |
BufLen: LongInt; |
Flags: LongInt |
):LongInt; |
Send sends AddrLen bytes starting from address Addr to socket Sock. Sock must be in a connected state. 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 |
No notes exist for this page yet.