![]() ![]() I used socat to set up a UDP echo server like this: echo server $ socat UDP4-LISTEN:54321,fork EXEC:catĮcho client $ echo -n "hello" | nc -4u -w1 192.168.56.101 54321 ![]() What does open:/dev/ttyUSB0,raw,nonblock,waitlock=/tmp/s0.locak,echo=0,b115200,crnl mean? Where would I find description of it? I understand /dev/ttyUSB0 and b115200, but what is the rest?.You would have to excuse me, but I'm illiterate in socat and networking in general. Open:/dev/ttyS0,raw,nonblock,waitlock=/tmp/s0.locak,echo=0,b115200,crnlĪnd here is what I have on my host machine (has a static IP as well) $ socat -v udp4-datagram:172.24.176.116:54321 \ Here is what I have on my embedded system (it has a static IP) $ socat -v udp4-datagram:172.24.176.207:54321 \ I found an example here, and adapted it to my needs. Also tried reading the manual, but it wasn't helpful as well. Tried going over a few tutorials but they were not helpful. However I'm not familiar with it very well. I was thinking of making a bridge between a UDP and serial using socat. However in our system we can transmit data only over a serial port. I have a piece of software that transmits data over a UDP connection. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |