Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make networking using Windsock API

Status
Not open for further replies.

kreop

Technical User
Oct 9, 2005
14
JP
Hai..I have a question about making network communication between two computers using Windsock API.I have done the network communication on same computer by following the instruction from book, but when come to make a communication between two computers, I face the problem. I hope to get some help generally what should I do first. I have several questions as below,
1) Do I need to create a new network connection on each computer client and server? And then, create server port, IP address, DN server as same as to create a new network on my computer.
2) After that, I have to create a socket of both server and client computer using VC++ WINDSOCK API.
3) What I understand, creating a socket for server and client for different computers is no different with what I have done before, a communication on a same computer.

Please give me an idea( In General) on how to make a communication between two computers.

TQ.
 
Do you have 2 computers that are currently networked together?
If you do, then everything should be the same as making network connections on the same computer except instead of 127.0.0.1 you would use the other computer's IP address.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top