Multitech MMCModem GPRS (MTMMC-G) Manual de usuario Pagina 15

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 44
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 14
Chapter 3 – IP Protocol Services
Multi-Tech Systems, Inc. IP Connectivity AT Commands for GPRS-F4 Wireless Modems (PN S000437C) 15
Chapter 3 – 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 and FTP service. Only one FTP
session at a time is available.
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 WIP application.
If peer IP and peer port is specified, the created socket will be connected to the
specified IP and port.
TCP server cannot be used to transfer data. To transfer data, it creates a local TCP
client socket. This process of creating local socket is referred as “spawning”. When
a server socket is created using, socket passively listens on a specified port for
incoming connections. The below mentioned diagram shows different states
managed for 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
Data transfer is done between the spawned socket and the remote socket
Server socket remains in the listening mode and is ready to accept the
request from other clients
Description Notes:
A SIM card must be inserted in order to use this command.
The PIN 1/CHV 1 code must be entered to use this command.
The PIN 2/CHV 2 does not have to be entered to use this command.
The +WIND general indication command value from which +WIPCREATE
is allowed is 4. This value (4) indicates that the product is ready to process
AT commands (except phonebooks, AOC, SMS), but is still in emergency
mode. See Appendix A – GSM/GPRS +WIND AT Command.
Closed
Listen
Server Socket
Create
Close Server
Socket channel
Server listening to the
remote socket for connect
request
Vista de pagina 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 43 44

Comentarios a estos manuales

Sin comentarios