private static void Client_Connect(object sender, NConnectivity.EventArgs.SocketArgs e) { Console.WriteLine("Connected!"); byte[] x = Encoding.ASCII.GetBytes("Testing from Client!\n"); client.BeginSend(x); }