BB-VESP211x Serial Servers
:
27
SETTING THE SERIAL SERVER TO OPERATE AS A TCP CLIENT
1. Select
TCP
protocol.
2. Select
to initiate connections (client)
3. Type the IP address into the
I want to connect to IP address:
box
4. Type the TCP port number of the server into the
on TCP port number:
box.
5. Select:
x
at power up
- if you want the serial server to always be connected.
x
when the serial port receives data
- if you only want to establish a connection when
there is data to be sent.
SETTING THE SERIAL SERVER TO OPERATE AS A TCP SERVER
1. Select
TCP
protocol.
2. Select
to wait for connections (server)
.
The configuration options change. The server IP address box disappears and the
number of
connections
box appears.
3. Type the port number in the
I want to wait for connection on TCP port number:
box.
4. Select the maximum number of connections desired in the
and limit the number of
connections to:
drop-down box.
Figure 4.13 TCP Server Settings
UDP CONFIGURATION
UDP (User Datagram Protocol)
enables applications using UDP socket programs to communicate
with the serial ports on the serial server. UDP protocol provides connectionless communications that
allows data to be broadcast to and received from multiple nodes on a network.
In UDP mode, if you want to control what network node receives data, you must specify the IP address
and UDP port the data will be sent to. You can choose to send to:
x
Nobody.
x
All nodes at a specific UDP port number. (This is called
broadcast
.)
x
Specific IP addresses and UDP port numbers. (This is called
unicast
.)
x
A range of IP addresses and UDP port numbers. (This is called
unicast range
.)