Serial data to IP packet conversion
Hi,
I have written a program which will read a serial data from RS232. I want prepare IP packet using this serial data. Can any body have any sort of program which will do Serial to IP conversion? Or do i need to prepare my self a IP packet using IPv4 header? |
Quote:
Code:
netcat <address or hostname> <port to send to> < /dev/ttyS0 |
Thanks for reply.
I'm using c language. Actually i want to store the data what ever come from serial driver in a buffer. That data i have to send as ip packet. I had done with that. |
All times are GMT -5. The time now is 02:43 AM. |