[Overview][Constants][Types][Procedures and functions] | Reference for unit 'Sockets' (#rtl) |
Send data through an unconnected socket to an address.
Source position: socketsh.inc line 182
function SendTo( |
Sock: LongInt; |
const Buf; |
BufLen: LongInt; |
Flags: LongInt; |
var Addr; |
AddrLen: LongInt |
):LongInt; |
SendTo sends data from buffer Buf with length Buflen through socket Sock with options Flags. The data is sent to address Addr, which has length AddrLen
On error, -1 is returned.
|
Create new socket |
|
|
Send data through socket |
|
|
Receive data from an unconnected socket |
No notes exist for this page yet.