EDG-4508+/4516+ User Manual 66
7.2 Net work Arc hitectur e and Exa mple Code
The EDG-4508+U/4516+U is an advanced peer-to-peer data gateway
unit. It extends traditional RS-232/422/485 interfaces to Ethernet net-
work. Through networking, you can control and monitor remote serial
devices either over a LAN or over the WAN. Since the EDG-4508+U/
4516+U is connected through a TCP/IP network, you will need to know
some basic facts about networking in order to get the server hooked up
correctly.
The EDG-4508+U/4516+U provides three types of network architecture:
polling, event handling and peer-to-peer. You can use the EDG-4508+U/
4516+U in any operation system with standard networking API such as
WinSock and Socket. If you want to develop application programs to
access the EDG-4508+U/4516+U, the following illustrates several exam-
ple codes for your reference. The three network types are: polling, event
handling and peer-to-peer.