[Overview][Constants][Types][Procedures and functions] | Reference for unit 'Sockets' (#rtl) |
Receive data from an unconnected socket
Source position: socketsh.inc line 184
function RecvFrom( |
Sock: LongInt; |
var Buf; |
Buflen: LongInt; |
Flags: LongInt; |
var Addr; |
var AddrLen: LongInt |
):LongInt; |
RecvFrom receives data in buffer Buf with maximum length BufLen from socket Sock. Receipt is controlled by options in Flags. Addr will be filled with the address from the sender, and will have length The function returns the number of bytes received, or -1 on error. AddrLen.
On error, -1 is returned.
|
Create new socket |
|
|
Receive data on socket |
|
|
Receive data from an unconnected socket |
No notes exist for this page yet.