Scannex ip.buffer User Manual
© UK 2007-2021 Scannex Electronics Ltd. All rights reserved worldwide.
11.5. TCP Server (passive)
The TCP server option allows for a simple client to connect to a listening socket in the
ip.buffer and pull the data out of the ip.buffer. The data is transferred “as-is” with no
protocol.
TCP Port
The TCP/IP port to listen on. This port must be a unique number
within the ip.buffer (i.e. you cannot have two channels
listening on the same port number)
[5001]
Interface
“
LAN only
” – allows incoming connections only from Ethernet.
PPP will not connect.
“
Modem only
” – allows incoming connections only from PPP.
Ethernet will not connect.
“
LAN or Modem
” – allows incoming connection from either PPP
or Ethernet.
[LAN or Modem]
Allow
You can enter a name, IP address, or wildcarded
IP address to
restrict access to the TCP server for devices on the LAN
You can also enter a comma- or semicolon-separated list.
Any non-matching clients will have their connection closed
before any data is sent.
(
Hint:
leave this blank until you have the system working, and
then
secure it with a value)
[blank]
TLS/SSL
“
No encryption
” – a plain TCP/IP session
“
Implicit (by port)
” – starts with an SSL/TLS connection. A
client that connects with plain TCP/IP will time out and
be disconnected.
[No encryption]
Prompt
The prompt to show when the client connects.
[Password:]
Password
If this is non-blank the ip.buffer will show a simple “Password:”
prompt when the client connects. If the client does not
enter the correct password in time, the message “Failed”
is output, the connection will be closed and an email
authentication alert generated (if enabled – section
8.2.7)
[blank]
Success
The message to show immediately after a correct password is
sent by the client.
[blank]
18
You may need to clean out any old “.tmp” files. Check their creation date+time to automatically
remove them on a schedule.
19
e.g. “192.168.0.*, device.scannex.com, 192.168.*”. Wildcards are “*” for anything, and “?” for
any single character.
20
When dialling in with a modem the “Allow” address is ignored.
21
By default, when a correct password is entered, nothing is sent to the client (except the data
itself). In some cases it is preferably to have an “OK” message, or similar. Manually enter a
configuration entry - c.chnl[
n
].dst.tcps.successmsg = "
string
" (where
n
is the channel number, and
string
is the text to send back).
Page 99
Scannex ip.buffer User Manual
© UK 2007-2021 Scannex Electronics Ltd. All rights reserved worldwide.
11.5. TCP Server (passive)
The TCP server option allows for a simple client to connect to a listening socket in the
ip.buffer and pull the data out of the ip.buffer. The data is transferred “as-is” with no
protocol.
TCP Port
The TCP/IP port to listen on. This port must be a unique number
within the ip.buffer (i.e. you cannot have two channels
listening on the same port number)
[5001]
Interface
“
LAN only
” – allows incoming connections only from Ethernet.
PPP will not connect.
“
Modem only
” – allows incoming connections only from PPP.
Ethernet will not connect.
“
LAN or Modem
” – allows incoming connection from either PPP
or Ethernet.
[LAN or Modem]
Allow
You can enter a name, IP address, or wildcarded
IP address to
restrict access to the TCP server for devices on the LAN
You can also enter a comma- or semicolon-separated list.
Any non-matching clients will have their connection closed
before any data is sent.
(
Hint:
leave this blank until you have the system working, and
then
secure it with a value)
[blank]
TLS/SSL
“
No encryption
” – a plain TCP/IP session
“
Implicit (by port)
” – starts with an SSL/TLS connection. A
client that connects with plain TCP/IP will time out and
be disconnected.
[No encryption]
Prompt
The prompt to show when the client connects.
[Password:]
Password
If this is non-blank the ip.buffer will show a simple “Password:”
prompt when the client connects. If the client does not
enter the correct password in time, the message “Failed”
is output, the connection will be closed and an email
authentication alert generated (if enabled – section
8.2.7)
[blank]
Success
The message to show immediately after a correct password is
sent by the client.
[blank]
18
You may need to clean out any old “.tmp” files. Check their creation date+time to automatically
remove them on a schedule.
19
e.g. “192.168.0.*, device.scannex.com, 192.168.*”. Wildcards are “*” for anything, and “?” for
any single character.
20
When dialling in with a modem the “Allow” address is ignored.
21
By default, when a correct password is entered, nothing is sent to the client (except the data
itself). In some cases it is preferably to have an “OK” message, or similar. Manually enter a
configuration entry - c.chnl[
n
].dst.tcps.successmsg = "
string
" (where
n
is the channel number, and
string
is the text to send back).
Page 99