Sierra Wireless WISMO218 User Manual Page 29

  • Download
  • Add to my manuals
  • Print
  • Page
    / 79
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 28
WA_DEV_W228_UGD_002 Rev 003 Page 29 of 78
WISMO228 TCP/IP AT Commands
Manual
4. IP Protocol Services
Service Creation +WIPCREATE
Description
The +WIPCREATE command is used to create UDP, TCP client and TCP server sockets associated
with the specified index.
If a local port is specified while creating a socket, the created socket will be assigned to this port; if
not, a port will be assigned dynamically by the firmware application. If peer IP and peer port is
specified, the created socket will be connected to the specified IP and port.
The TCP server cannot be used to transfer data. To transfer data, it creates a local TCP client socket.

using spawning, the socket passively listens on a specified port for incoming connections. The
diagram below shows the different states managed for a TCP server.
On reception of a connection request from a remote client socket, a server socket does the following:
spawns a new socket (client) to connect to the remote socket
transfers data between the spawned socket and the remote socket
remains in listening mode and is ready to accept requests from other clients
The diagram below shows the connection establishment procedure.
Closed
Listen
Server Socket
Create
Server listening to the
remote socket for connect
request
Close Server
Socket channel
Page view 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 78 79

Comments to this Manuals

No comments