Ethernet API/protocol information



  • Hi,

    I'm looking for information about the protocol/API to use to connect and talk to an Ehernet gateway. Although there is plenty of information around about the serial protocol, Ethernet protocol seems to be shrouded in mystery.

    How to connect to the gateway (UDP, TCP, ...), how to keep the connection alive, is the serial API somehow embedded into a network stream ....

    Stefaan


  • Admin

    The network connection works just like a serial (but over ip).

    So you can test it by using a command like netcat.

    # TCP
    netcat <gw ip> <port>
    
    # UDP
    netcat -u <gw ip> <port>
    
    

Log in to reply
 

Suggested Topics

  • 4
  • 17
  • 20
  • 2
  • 4
  • 8

50
Online

11.4k
Users

11.1k
Topics

112.7k
Posts