
CONFIGURATION COMMANDS
Configuration Commands Reference
54
2.10
•
19.01.2007
4.4.5.2 TCP/IP mode: SPTCPMODE / GPTCPMODE
Syntax
Command
SPTCPMODE <0/1/2>
Response
none
Description
defines TCP/IP stack mode of operation
0
operation as client (active)
1
operation as server (listening)
2
reserved for future use
Arguments(s)
format: value
default: 0
Example
Host:
SPTCP ON
Module:
OK
Application
PT
Notes
Typically a client will actively set up a connection to a server.
Syntax
Command
GPTCPMODE
Response
none
Description
Returns TCP/IP mode of operation
Return value(s) On/off
see SPTCPMODE
Example
Host:
GPTCPMODE
Module:
0
OK
Application
PT
Notes