send string to other computer?

Duffman

New member
Joined
Apr 28, 2010
Messages
4
Programming Experience
Beginner
I took a look at the TCP client and found it is more client server communication. One computer is froze up listening for the connection and is more call response as opposed to computer to computer sending back and forth strings of data. Is there any othe way to achieve this in vb.net? I am using a crossover cable to connect the computers, could that employ an easier way?
 
If the computer's locked up listening for the connection, then that means you're not running it on a background thread. Look into threading for that.
 
I took a look at the TCP client and found it is more client server communication.
When you connect to a computer that computer must accept the connection. This is the purpose of the TcpListener, it will listen for connection and accept it (AcceptTcpClient). For UI applications this must be done in background thread. Once connection is established the communication is done between the two TcpClient instances.
 
Back
Top