|
-
Nov 22nd, 2012, 01:58 PM
#1
Thread Starter
Frenzied Member
Client/Server a raw TCP client (Winsock example.)
Client/Server is a program that demonstrates how to use winsock to make raw TCP connections to a server and how to accept connections from a client. The program allows the user to send and receive data. Non printable characters are displayed as escape sequences and can also be entered as such. Here is one easy way to try this program:
1. Start two instances of the program.
2. Select "client mode" for one instance and "server mode" for the other.
3. Specify an ip address/host name and port to listen to for the server, then select "Listen" in the "Monitor" menu.
4. Specify a remote ip address/host name and port to connect to for the client, then select "Connect" in the "Client" menu.
5. You should now be able to send data between the two instances of the program through winsock.
Last edited by Peter Swinkels; Mar 4th, 2017 at 06:32 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|