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.