send method
Implementation
@override
Future<int> send(CommunicateData<Socket> data) async {
data.connection
.write("${data.message.message.length}\n${data.message.message}");
return Future(() => data.message.message.length);
}
@override
Future<int> send(CommunicateData<Socket> data) async {
data.connection
.write("${data.message.message.length}\n${data.message.message}");
return Future(() => data.message.message.length);
}