[Overview][Constants][Types][Classes] | Reference for unit 'lNet' (#LNet) |
Method used to receive data from the other side
Source position: lnet.pp line 339
public function TLUdp.Get( |
var aData; |
const aSize: Integer; |
aSocket: TLSocket = nil |
):Integer; override; |
aData |
|
The user buffer to receive data into |
aSize |
|
Maximum size of the data to receive |
aSocket |
|
The socket to receive on, defaults to nil. There is no need to specify the socket as UDP always has only one socket. |
Returns number of bytes received
This method is used to receive data from the other side, into the user buffer. Socket does not need to be specified as UDP has only one socket all the times.
No notes exist for this page yet.