TcpClient in Visual C++
-
Im wanting to allocate a button on a form to connect to an IP address on my network through TCP. A seperate button will send an ASCII code e.g "l" to the IP address and a third button will disconnect from the TCP connection. Im having trouble trying to do this using TcpClient in Visual C++ (express edition 2008 version). The main problem Im having is trying to seperate code for just connecting to the tcp conection, then having a seperate part of code to write to the data stream and a third part that just disconnects from the tcp connection. :((
-
Im wanting to allocate a button on a form to connect to an IP address on my network through TCP. A seperate button will send an ASCII code e.g "l" to the IP address and a third button will disconnect from the TCP connection. Im having trouble trying to do this using TcpClient in Visual C++ (express edition 2008 version). The main problem Im having is trying to seperate code for just connecting to the tcp conection, then having a seperate part of code to write to the data stream and a third part that just disconnects from the tcp connection. :((
hello, I can help you sending the src of UDP / TCP messenger here, if interested, write me or to a contact on that page