
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
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...