[Overview][Constants][Types][Procedures and functions] | Reference for unit 'Sockets' (#rtl) |
Receive data on socket
Source position: socketsh.inc line 183
function Recv( |
Sock: LongInt; |
var Buf; |
BufLen: LongInt; |
Flags: LongInt |
):LongInt; |
Recv reads at most Addrlen bytes from socket Sock into address Addr. The socket must be in a connected state. Flags can be one of the following:
The functions returns the number of bytes actually read from the socket, or -1 if a detectable error occurred.
Errors are reported in SocketError, and include the following:
|
Send data through socket |
No notes exist for this page yet.