Pressure Systems 9022 User Manual

Page 78

Advertising
background image

Pressure Systems, Inc.

NetScanner™ System (9016, 9021, & 9022) User’s Manual

www.PressureSystems.com

3 - 48

remport parameter will affect the way host software must handle multiple modules
sending streams. If every module uses the same port, then a single host socket can
be bound to that port to receive all responses from all modules. The remote IP
address, given to that socket, at time of receipt of the stream’s datagram, will
identify the particular module who sent the datagram. Alternately, every module
may be given a unique remport number, requiring that a host program bind a unique
UDP socket to each of these unique remport numbers. Then, when a particular
socket receives a UDP datagram to its unique port, the module sending it is
automatically identified.

The optional ipaddr parameter is normally unspecified, causing it to default to use
the IP address of the current TCP/IP connection. That way the host need not have
to be aware of its own IP address. This parameter is provided in case a special host
has multiple network interfaces and wants to use more than one. When used, ipaddr
requires four dotted numeric fields (d.d.d.d). Each d is a 1-3 digit decimal number
in the range 0-255. The ipaddr = 255.255.255.255 is best avoided, unless the UDP
datagrams of streams are to be broadcast to all network nodes.

Examples:

!

Configure all streams to be delivered via UDP/IP protocol. Host expects the UDP
datagrams to arrive via port 7500. The IP Address of the current TCP/IP connection
is also used to send each UDP datagram.

“c 06 0 1 7500”

Read response:

“A”

!

Configure all streams to be delivered via the default TCP/IP protocol.

“c 06 0 0”

Read response:

“A”

Advertising