receive method Null safety

Datagram? receive ()

Receive a datagram. If there are no datagrams available null is returned.

The maximum length of the datagram that can be received is 65503 bytes.

Implementation

Datagram? receive();