11 #ifndef tty_netSerial_hpp
12 #define tty_netSerial_hpp
14 #define NETSERIAL_E_NOERROR (0)
15 #define NETSERIAL_E_NETWORK (-50000)
16 #define NETSERIAL_E_CONNECT (-50010)
17 #define NETSERIAL_E_COMM (-50020)
Manage a connectio to a serial device over a network.
int serialIn(char *buf, int len, int timeout)
int serialOut(const char *buf, int len)
int serialInString2(char *buf, int len, int timeout, char *terminator)
int serialInString(char *buf, int len, int timeout, char terminator)
int serialInit(const char *address, int port)