ABSTRACT

In this chapter, you will use socket and AT commands to configure TCP/IP socket on the modem and send and receive TCP data. TCP is a connection-oriented protocol, which means a connection is established and maintained between a client and a server. TCP determines how to send application data as packets that traverse the network to the receiver. TCP sends packets to and accepts packets from the network layer, manages flow control, and handles retransmission of dropped or corrupted packets as well as acknowledgement of all packets that arrive. In the Open Systems Interconnection (OSI) communication model, TCP is a protocol of layer 4, the Transport layer.