Connecting to TCPSocket as client

View: New views
1 Messages — Rating Filter:   Alert me  

Connecting to TCPSocket as client

by mikehockstein :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey everyone,

I'm having a hard time trying to learn how to do this.  I can create a TCPSocket and connect to it from a console window using telnet.  But how can I connect to it using a C++ program; specifically, I want a thread that connects to a TCP server within the program so it can then send/receive text. It should be something simple that I'm missing (sorry stupid college student here).