Specifications

Chapter 18. TCP/IP
451
18.4 Socket API
18.4.1 Overview
The SOCKET.FN3 library implements a subset of the BSD4.4 socket application program
interface (API).
The following flowcharts show the BSD4.4 socket API calls for the two communications proto-
cols required for the TCP/IP transport layer: transmission control protocol (TCP) for streams
and user datagram protocol (UDP) for datagrams.
Transmission Control Protocol (TCP)
socket()
connect()
send()
select()
recv()
close()
socket()
bind()
listen()
accept()
select()
recv()
send()
close()
Client Server