How to create socket - help needed

Status
Not open for further replies.

scorrpeio

Full Member level 5
Joined
Dec 26, 2006
Messages
286
Helped
10
Reputation
20
Reaction score
9
Trophy points
1,298
Activity points
3,496
How to create socket

Hi...

I have created dialog box using MFC which accept the port number.
Now I want to open that port. I think it needs to create a socket &
do the socket programing.
Please tell me how to do this
 

Re: How to create socket

A socket means a connection.
To create the socket connection, you need to provide two information.
The IP address of the computer/device, and the port no.
IP address refers to the precise computer/device you want to communicate with.
Port no. refers to the precise application program located the computer/device that is waiting for your connection. The application waiting for your connection is known as the server.

Server will be operating and listen to data sent to the Port it is listening to.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…