IBM CTI 2572 manual Berkeley Sockets, 2572 TCP/IP Support

Page 37

5.6 Berkeley Sockets

Although TCP/IP defines the network data structures and the rules for processing network traffic, it does not define exactly how application software interfaces with TCP/IP protocols. This attribute has given developers the freedom to optimize software for various processor class, operating systems, and programming languages. Over the years, however, a few programming conventions have been established which effectively standardize how application programs interface with TCP/IP protocol suites. One of the most widely used conventions is called Berkeley Sockets.

The Berkeley Sockets interface is named for the development at the University of California at Berkeley, where TCP/IP was originally distributed. Since most TCP/IP applications were written in UNIX, Berkeley Sockets were designed as an extension of the UNIX file I/O system. The equivalent sockets interface is now available under most common operating systems including IBM OS/2, Novell Netware, Microsoft Windows, and DOS (via 3rd party software).

5.7 2572 TCP/IP Support

The 2572 fully supports the TCP/IP standard discussed in this chapter including UPD, TCP, ICMP, and ARP. Application programs can use Berkeley sockets to send and receive 2572 messages. The format of these messages is discussed in the following chapter.

CTI 2572 Technical Overview Manual

27

Image 37
Contents Ethernet TCP/IP Adapter Module Technical Overview Page Document Disclaimer Statement Page Preface Page Table of Contents Page 802.3 Frame w/ Snap Header 10Base5 Thick Coax TopologyPage Description IntroductionClient Mode Server Mode2572 Functions Serial RedirectMaster/Slave vs. Local Area Networks Local Area Network OverviewToken Ring Topology Ieee 802.5 Token-RingEthernet Topology Coax Ethernet and IeeeFuture Technologies Ieee 802.4 Token BusSummary Page ISO Reference Model Ethernet OverviewEthernet Topologies and Media Physical Layer 10BaseT Unshielded Twisted Pair UTP Bridges Foirl Fiber OpticEthernet Protocol Data Link Layer Mixed MediaEthernet Version 2 and Ieee 802.3 Packet Ethernet Version 2 standard defines the packet as follows Requirement for Higher Level Protocols Ethernet AddressesPage Connectionless vs. Connection Oriented Protocols Network ProtocolsConnectionless Protocols Common LAN Protocols Connection-Oriented ProtocolsIPX/SPX Page TCP/IP Components TCP/IP OverviewIP Address Internet ProtocolSubnet Address Mask Internet Control Message Protocol Icmp Address Resolution Protocol ARPUser Datagram Protocol UDP Transmission Control Protocol TCP That other network nodes can accessStream Orientation Connection-Oriented CommunicationsTCP Segment Reliable Data Transfer2572 TCP/IP Support Berkeley SocketsPage Non Intelligent Terminal Protocol PLC Command InterfaceTask Codes