SIGH! Alright, heres what I want to do. And after 5 attempts at writing this post, its alot harder to explain than I thought.
Basically, I'm doing a Peer to Peer program. Atm I have it so that all of the peers can find each other using a Backgroundworker and a blocking UDPClient (which should work fine?).
Now, I want computers to be able to connect to send me data over TCP. Does someone have an example of this that will work well with a GUI.I need to be able to pass data between the GUI thread and the TCPClient/Socket thread, and it has to be able to support multiple connections.
Can anyone direct me towards such an example?Winsock in VB6 has corrupted me it seems.
It doesn't have to be TCPClient it can be Sockets or whatever other options there are.
I've looked at so many examples on Google and they all have their faults for one reason or another.
![]()





Winsock in VB6 has corrupted me it seems.
I've looked at so many examples on Google and they all have their faults for one reason or another.
Reply With Quote