products
Would you like to react to this message? Create an account in a few clicks or log in to continue.
products

products and price


You are not connected. Please login or register

between two

Go down  Message [Page 1 of 1]

1between two Empty between two Thu May 28, 2020 6:58 am

Admin


Admin

<p><span style="color: rgb(34, 34, 34);">&nbsp;A&nbsp;</span><strong style="color: rgb(34, 34, 34);"><a href="https://www.durablesocket.com/" target="_blank">socket</a></strong><span style="color: rgb(34, 34, 34);">&nbsp;is one endpoint of a two-way communication link between two programs running on the network. A&nbsp;socket&nbsp;is bound to a port number so that the TCP layer can identify the application that data is destined to be sent to. An endpoint is a combination of an IP address and a port number.</span></p><p><br></p><p>A&nbsp;network socket&nbsp;is an internal endpoint for sending or receiving data within a&nbsp;node&nbsp;on a&nbsp;computer network. Concretely, it is a representation of this endpoint in networking software (protocol stack), such as an entry in a table (listing communication protocol, destination, status, etc.), and is a form of&nbsp;system resource.</p><p>The term&nbsp;socket&nbsp;is analogous to physical&nbsp;female connectors, communication between two nodes through a&nbsp;channel&nbsp;being visualized as a cable with two&nbsp;male connectors&nbsp;plugging into sockets at each node. Similarly, the term&nbsp;port&nbsp;(another term for a female connector) is used for&nbsp;external&nbsp;endpoints at a node, and the term&nbsp;socket&nbsp;is also used for an internal endpoint of local&nbsp;inter-process communication&nbsp;(IPC) (not over a network). However, the analogy is limited, as network communication need not be one-to-one or have a dedicated&nbsp;communication channel.</p><p><br></p><p>Use <span style="color: rgb(34, 34, 34);">socket</span></p><p>A&nbsp;process&nbsp;can refer to a socket using a&nbsp;socket descriptor, a type of&nbsp;handle. A process first requests that the protocol stack create a socket, and the stack returns a descriptor to the process so it can identify the socket. The process then passes the descriptor back to the protocol stack when it wishes to send or receive data using this socket.</p><p><br></p><p>Unlike&nbsp;ports, sockets are specific to one node; they are local resources and cannot be referred to directly by other nodes. Further, sockets are not necessarily associated with a persistent connection (channel) for communication between two nodes, nor is there necessarily some single other endpoint. For example, a&nbsp;datagram socket&nbsp;can be used for&nbsp;connectionless communication, and a&nbsp;multicast&nbsp;socket can be used to send to multiple nodes. However, in practice for&nbsp;internet&nbsp;communication, sockets are generally used to connect to a specific endpoint and often with a persistent connection.</p>

https://weyes123.666forum.com

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum