I want to implement a form with a connect, a disconnect and a send button (Which sends some ASCII code through the connection and recieves a reply) Does anyone know how I would be able to do this in Visual C++ using the TcpClient class?
Printable View
I want to implement a form with a connect, a disconnect and a send button (Which sends some ASCII code through the connection and recieves a reply) Does anyone know how I would be able to do this in Visual C++ using the TcpClient class?
Hi,
I never have used the TcpClient class in C++
Though I know for a fact that there is an easy way to do this with the Winsock API.
Give a look into this maybe.
Do you know of any websites that have examples using Winsock API? If not does anyone know of a way to seperate out TcpClient code so that one function can connect and another function disconnect from a tcp connection?