void onReceive(AbstractTcpSocket socket, Socket client, byte[] bytes) { fabl.Info(Encoding.UTF8.GetString(bytes)); socket.Disconnect(); }
void onCancel(object sender, ConsoleCancelEventArgs e) { _socket.Disconnect(); }
static void onReceive(AbstractTcpSocket socket, Socket client, byte[] bytes) { Debug.Log("Generated."); socket.Disconnect(); }