mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 12:29:16 -04:00
SerialOverIP Version 1.0, 8 Mar 2002 Tool for transport of serial interfaces over UDP/IP. Useful for accessing a distant serial device by a local Windoze program. WWW: http://www.sourceforge.net/projects/serialoverip/ Author: Stefan-Florin Nicola <sten@fx.ro> Submitted by: Devon H. O'Dell <devon.odell@coyotepoint.com>
36 lines
1.5 KiB
C
36 lines
1.5 KiB
C
--- serialoverip.c Sun Sep 3 16:04:54 2006
|
|
+++ serialoverip.c Sun Sep 3 16:06:34 2006
|
|
@@ -42,20 +42,19 @@
|
|
int s[2],st[2];
|
|
|
|
void help(){
|
|
- fprintf(stderr,"\
|
|
-SerialOverIP version 1.0, Copyright (C) 2002 Stefan-Florin Nicola <sten@fx.ro>
|
|
-SerialOverIP comes with ABSOLUTELY NO WARRANTY. This is free software, and you
|
|
-are welcome to redistribute it under GNU General Public License.
|
|
- Usage: %s <source1> <source2>
|
|
- where <source1> and <source2> are one of the folowing:
|
|
- -s <IP> <port> UDP server on IP:port
|
|
- -c <IP> <port> UDP client for server IP:port
|
|
- -d <device> sss-dps local serial device
|
|
- sss is speed (50,..,230400)
|
|
- d is data bits (5,6,7,8)
|
|
- p is parity type (N,E,O)
|
|
- s is stop bits (1,2)
|
|
-",pname);
|
|
+ fprintf(stderr,
|
|
+"SerialOverIP version 1.0, Copyright (C) 2002 Stefan-Florin Nicola <sten@fx.ro>\n"\
|
|
+"SerialOverIP comes with ABSOLUTELY NO WARRANTY. This is free software, and you\n"\
|
|
+"are welcome to redistribute it under GNU General Public License.\n"\
|
|
+" Usage: %s <source1> <source2>\n"\
|
|
+" where <source1> and <source2> are one of the folowing:\n"\
|
|
+" -s <IP> <port> UDP server on IP:port\n"\
|
|
+" -c <IP> <port> UDP client for server IP:port\n"\
|
|
+" -d <device> sss-dps local serial device\n"\
|
|
+" sss is speed (50,..,230400)\n"\
|
|
+" d is data bits (5,6,7,8)\n"\
|
|
+" p is parity type (N,E,O)\n"\
|
|
+" s is stop bits (1,2)\n",pname);
|
|
return;
|
|
}
|
|
|