Sample udp receive program – Proxima ASA 7911 User Manual
Page 96
90
7. The Default Gateway Address and Subnet Mask parameters
on the Serial Adapter must be set to the appropriate values for
your network. See your Network Administrator for details.
8. It is also possible to do a station search from a wired worksta-
tion to determine the IP Address of any Serial Adapters within
range. The station search is a one byte packet (value of the byte is
2), sent as a UDP broadcast.
Each Serial Adapter that receives the search packet will send the
following response:
1 BYTE:
packet type (= 3)
4 BYTES:
IP address of responding Serial Adapter
The response is sent by the Serial Adapter using a directed UDP
message.
Many reference books are available on Sockets programming,
both for Windows and UNIX. Suggested reference books in-
clude:
Comer, Douglas E., Internetworking with TCP/IP, Vol. 1-3, 3rd
ed. Prentice-Hall, Englewood Cliffs, New Jersey, 1995.
Stevens, W. Richard, TCP/IP Illustrated, Vol. 1-3, Addison-
Wesley, Reading, Mass., 1994.
Stevens, W. Richard, UNIX Network Programming: Networking
APIs: Sockets and XTI, 2nd ed., Prentice-Hall, Englewood Cliffs,
New Jersey, 1997.