Receives a single packet.
If a buffer is given, it must be large enough to hold the full packet.
The timeout overload will throw an Exception if no data arrives before the specified duration has elapsed.
See Implementation
Receives a single packet.
If a buffer is given, it must be large enough to hold the full packet.
The timeout overload will throw an Exception if no data arrives before the specified duration has elapsed.