Attached is the vb project that I came up with last night.
I made this program for a game that I am making with requires constant chat between to computers.
My problem:
It works for the first message but when I try to send the
second message it gives me an error in the ReceivedData Sub.

Can you PLEASE look at this?? You can simply tell me that I
have it all wrong if its a big problem other wise please let
me know what I can fix to make it work.

Thanks,
Gary

The error I'm getting is:
System.InvalidOperationException: This operation is not allowed on non connected sockets vb.net
For some reason the socket keeps closing.

Anyone?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.