socket.recvfrom [method]
socket.recvfrom( int maxlength[, int flags ])
attempt to receive at most maxlength
bytes of pending data, return address of sender with data
- socket may block if blocking is enabled and there's no data at the moment
- maximum blocking time is determined by socket's
recv_timeout
property
- maximum blocking time is determined by socket's
- return values:
- false if there was an error
- byte buffer containing 1 -
maxlength
bytes and socket_address if read was successful