Networkcomms.net library sending custom class
问题 Few days ago I was starting to use this library in C#. I was trying to send a custom class when I've encounter an error, here is my code: Main.cs private void button3_Click(object sender, EventArgs e) { listBox1.Items.Add("Sending message to server saying '" + textBox2.Text + "'"); TCPConnection connection = TCPConnection.GetConnection(new ConnectionInfo(serverIP, serverPort)); SendReceiveOptions options = connection.ConnectionDefaultSendReceiveOptions.Clone() as SendReceiveOptions; options