answersLogoWhite

0

A socket is an internet endpoint, consisting of an IP address and a port number, which uniquely identifies a host and the listening program on that host for the packet.

When you set up a socket between two systems you are essentially setting up a "tunnel" connection between the two systems so they can communicate by sending and receiving messages across the network. Note that the use of the word "tunnel" in this case merely means a communications channel, and should not be confused with an encrypted tunnel in secure communications.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What happens when client and server attempts to send or read simultaneously in socket programming?

It depends on whether the process is blocked or not; in some cases the client or the server will be blocked until it detects some message in the socket; in other scenarios it will just return a status saying nothing is available.


How connectionless communication between a client and a server proceeds when using sockets?

Both the client and the server create a socket, but only the server binds the socket to a local endpoint. The server can then subsequently do a blocking readcall in which it waits for incoming data from any client. Likewise, after creating the socket, the client simply does a blocking call to write data to the server. There is no need to close a connection.


Is ruby programming client side or server side?

Ruby is a server-side language.


Internet programming differ from other programming?

Internet programming is generally a client/server based programming where there will be servers for handling requests and clients for sending request these may be on different computers but the other programing may or may not be client server based which is on the same PC


How does a communications server work?

A communications server works by connecting the server and the client through streaming. A good communications server should have a powerful programming model.


What is the meaning of socks?

Other than the ordinary meaning, SOCKS (SOCKet Secure) is an internet protocol that routes network packets between a client and server through a proxy server.


What has the author Dan Harkey written?

Dan Harkey has written: 'Client/Server Programming With Javabeans'


What is the difference between a host and a workstation?

host or server is same. the server provide the service to the end user or client. like engineered programming.


What is client program?

As far as web programming is concerned, client side programming is code that runs in the web browser, rather than the web server. JavaScript is an example of client side scripting because the code is sent to the browser, at which point it is executed. PHP is an example of server side scripting because the code is executed on the server, and the resulting code is sent to the browser and displayed.


Why did the rtmpconnect0 failed to connect socket?

The rtmpconnect0 failed to connect socket because there was an issue with establishing a connection between the RTMP server and the client due to network problems, server issues, or incorrect configuration settings.


How do you make a web server using C?

To create a simple web server in C, you can use the socket programming API. First, create a socket using socket(), then bind it to an IP address and port with bind(). After that, listen for incoming connections using listen(), and accept them with accept(). Once a connection is established, you can read the HTTP request from the client, process it, and send back an HTTP response using send(). Don’t forget to close the sockets when done.


What is server site code?

That refers to any computer code that runes on the server, as opposed to the client. Computer code: commands written in a programming language. Client: The computer you work on. Often you connect to the server with a browser. Server: The remote computer which you are accessing - for example, a gaming site, an e-commerce site, etc.