Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#17 new protocol, rawudp

open
nobody
None
5
2011-11-28
2011-11-28
rspadim
No

hi guys,
could we add another raw protocol?
this time is: rawudp
it´s like raw
but instead TCP socket, use a UDP socket, and send all received data from serial to last computer that sent something, for example
computer connect to serial from ip 172.16.0.1 port 1234
all received data from serial is sent back to 172.16.0.1 por 1234
ok it must send something before ser2net know what´s ip and port is 'connected' since udp is connectionless
maybe another parameter could be added when no connection is done, send to a default ip/port previous configured (at ser2net.conf or command line)

why? many microcontrollers have udp-serial converter, but i can´t test it with linux machines, since i don´t have one here to test (i´m just writing code with UDP, but my final user test without i have tested, if i could test it before send program to user could be very nice)

Discussion

  • Corey Minyard
    Corey Minyard
    2011-11-28

    Feel free to add this, but I don't have much of an incentive to do it. I'm happy to look at patches and include them.