The Winsock procedures provide support for programming devices using TCP/IP protocol stack in the ISO/OSI network communications model. TCP/IP is an industry standard communications protocol that defines methods for packaging data into packets for transmission between computing devices on a heterogeneous network. TCP/IP has become the standard for data transmission over networks, including the Internet. TCP establishes a connection for data transmission and IP defines the method for sending data packets. WinSocket devices can also be controlled using I/O Tables.
In the International Organization for Standardization Open Systems Interconnection (ISO/OSI) model for network communications, Winsock operates as the session layer interface to the transport layer. Winsock is an interface between applications and the transport protocol and works as a conduit for data I/O.
Winsock simplifies application development in the upper ISO/OSI layers by handling the details of network data exchange at the lower layers. Winsock provides a programmable interface between the upper layers, 5-7, and the lower layers, 1-4. Winsock applications reside in the upper application, presentation, and session layers. Winsock application data is packaged and transmitted over a network by the lower transport, network, data-link, and physical layers.
TCP/IP(Transmission Control Protocol/Internet Protocol) is the lower layer protocol used by Winsock. Specifically, TCP fits into the transport layer and IP fits into the network layer. TCP/IP is an industry standard communications protocol that defines methods for packaging data into packets for transmission between computing devices on a heterogeneous network. TCP/IP has become the standard for data transmission over networks, including the Internet. TCP establishes a connection for data transmission and IP defines the method for sending data packets.
ATEasy 2024 (v13) added an IPv6 support (prior versions supported only IPv4). See the WsGetNameAddress function for explanation of IPv6 addressing. The WsGetAddressName also explains how the addresses for IPv4 and IPv6 are stored in a variant.
For further details on the Winsock, see Using ATEasy Winsock Procedures.
|
|