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

Several types of Internet socket are available:

Go down  Message [Page 1 of 1]

Admin


Admin

<p><br></p><p>Datagram <a href="https://www.durablesocket.com/news" target="_blank">sockets</a></p><p>Connectionless&nbsp;sockets, which use&nbsp;User Datagram Protocol&nbsp;(UDP).[3]&nbsp;Each packet sent or received on a datagram socket is individually addressed and routed. Order and reliability are not guaranteed with datagram sockets, so multiple packets sent from one machine or process to another may arrive in any order or might not arrive at all. Special configuration may be required to send&nbsp;broadcasts&nbsp;on a datagram socket.[4]&nbsp;In order to receive broadcast packets, a datagram socket should not be bound to a specific address, though in some implementations, broadcast packets may also be received when a datagram socket is bound to a specific address.[5]</p><p>Stream sockets</p><p>Connection-oriented&nbsp;sockets, which use&nbsp;Transmission Control Protocol&nbsp;(TCP),&nbsp;Stream Control Transmission Protocol&nbsp;(SCTP) or&nbsp;Datagram Congestion Control Protocol&nbsp;(DCCP). A stream socket provides a&nbsp;sequenced&nbsp;and unique flow of error-free data without record boundaries, with well-defined mechanisms for creating and destroying connections and reporting errors. A stream socket transmits data&nbsp;reliably, in order, and with&nbsp;out-of-band&nbsp;capabilities. On the Internet, stream sockets are typically implemented using TCP so that applications can run across any networks using TCP/IP protocol.</p><p>Raw sockets</p><p>Allow direct sending and receiving of IP packets without any protocol-specific transport layer formatting. With other types of sockets, the&nbsp;payload&nbsp;is automatically&nbsp;encapsulated&nbsp;according to the chosen transport layer protocol (e.g. TCP, UDP), and the socket user is unaware of the existence of protocol&nbsp;headers&nbsp;that are broadcast with the payload. When reading from a raw socket, the headers are usually included. When transmitting packets from a raw socket, the automatic addition of a header is optional.</p><p>Most socket&nbsp;application programming interfaces&nbsp;(APIs), for example those based on&nbsp;Berkeley sockets, support raw sockets.&nbsp;Windows XP&nbsp;was released in 2001 with raw socket support implemented in the&nbsp;Winsock&nbsp;interface, but three years later, Microsoft limited Winsock's raw socket support because of security concerns.[6]</p><p>Raw sockets are used in security related applications like&nbsp;Nmap. One use case for raw sockets is the implementation of new transport-layer protocols in&nbsp;user space.[7]&nbsp;Raw sockets are typically available in network equipment, and used for&nbsp;routing protocols&nbsp;such as the&nbsp;Internet Group Management Protocol&nbsp;(IGMPv4) and&nbsp;Open Shortest Path First&nbsp;(OSPF), and in the&nbsp;Internet Control Message Protocol&nbsp;(ICMP) used, among other things, by the&nbsp;ping utility.[8]</p><p>Other socket types are implemented over other transport protocols, such as&nbsp;Systems Network Architecture&nbsp;(SNA).[9]&nbsp;See also&nbsp;Unix domain sockets&nbsp;(UDS), for internal inter-process communication.</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