receive method
Receives a data package via this channel.
Implementation
@override
Future<Pair<Uint8List?, SocketAddress?>> receive(int maxLen) async {
try {
return await reader.receive(maxLen);
} on IOException {
await close();
rethrow;
}
}