3
Reply

C# network functions / socket programming

kingneb123

kingneb123

Sep 6 2004 5:52 PM
3.9k
Here is what I want the program to do: The client program has a form with a textBox and Button. The server program has a form with a textBox only. When the user types text in the text box on the client, then clicks the button, the text gets sent over the network and shows up in the text box on the server. Here is what I tried already: I looked through some of the articles and sample network programs but they were not helpful. None of the sample programs worked. I had a very hard time reading the code in those samples (could not figure out if they would work with my setup or not). I have a router firewall. I have Norton internet Security on both the client and server. I shut off norton antivirus and norton personal firwall, still did not work. I put a port override in the router that the programs use, still did not work. Now I feel it's faulty code in the programs. Could you post some easy reference code with comments that will work for sure? Specs of my systems: Windows XP Home (client) and Pro (server) service release 2 .NET framework 1.1 with SR1 Visual C#.NET 2003 (client) Visual Studio.NET (server) Thank you so much, Kingneb

Answers (3)