90
W&T
Mode TCP server
11�1
The Com-Server as TCP server
TCP is a connection-based protocol, i.e. during data transmis-
sion there is a fixed connection between client and server.
TCP possesses all the mechanisms for opening and closing
a connection and ensuring errorless data transfer over the
network.
The connection is controlled by the user program (client
process), which opens (connect()) and closes (close()) the
connection. Once a connection is established, data can be
exchanged bidirectionally between the two processes. The
Com-Server output all the data from the LAN to the serial prot
and in return reads in all the data from the serial port in order
to convey it to your client process.
It must be noted that only one TCP client at a time can be
connected to the serial port of the Com-Server. If there is
already a connection, any attempt from another client is re-
jected until this first connection has been properly closed or
ended by means of a reset.
1
When there is no connection, the entry
FREE
must
be visible in the Com-Server port menu S
ETUP Port x
r
Port State
r
Connection State
. If a connection is active, the
entry
In Use Port number <IP address>
appears there.
Application examples TCP-Server mode
• A separate client program should be created for polling
the device serially connected to the Com-Server. TCP sok-
ket communication is supported by all modern program-
ming and script languages.
• The communication program associated with the serial
device offers as a standard feature the ability to specify an
IP address/port number as the destination interface.
Содержание Com-Server++
Страница 8: ...W T...
Страница 26: ...26 W T Assigning the IP address...
Страница 27: ...27 W T Subject to error and alteration 3 Supply voltage Com Server Com Server3x Isolated...
Страница 30: ...30 W T Supply voltage...
Страница 34: ...34 W T Network interface...
Страница 35: ...35 W T Subject to error and alteration 5 The serial combi port Mode selection RS232 mode RS422 485 mode...
Страница 41: ...41 W T Subject to error and alteration 6 LED displays Power Status Error LED Network LEDs...
Страница 88: ...88 W T Packetizing serial datagrams...
Страница 94: ...94 W T Mode TCP server...
Страница 108: ...108 W T Mode TCP client...
Страница 122: ...122 W T UDP bus mode...
Страница 130: ...130 W T The Windows COM port redirector...
Страница 138: ...138 W T Box to Box mode...
Страница 154: ...154 W T Mode FTP client...
Страница 164: ...164 W T Mode Telnet Client...
Страница 182: ...182 W T OPC data transfer...
Страница 183: ...183 W T Subject to error and alteration 23 Mode InQueueCopy Distribution of serial data streams to multiple stations...
Страница 186: ...186 W T Mode InQueueCopy...
Страница 206: ...206 W T Expanded services of the Com Server...