how to send a packet to device , the simplest way?
-
I am trying to send some message to an embeded device. its a very simple protocol , for example., according to the documentation , When a client send a packet"0x0000", the device reboot, when send "0x0011 0x0001", the device start to to rotate a certain degree. I am a newbie to network programming, need a quick example on how to send a packet to a tcp/ip listener. Thanks a lot!
-
I am trying to send some message to an embeded device. its a very simple protocol , for example., according to the documentation , When a client send a packet"0x0000", the device reboot, when send "0x0011 0x0001", the device start to to rotate a certain degree. I am a newbie to network programming, need a quick example on how to send a packet to a tcp/ip listener. Thanks a lot!
Well, it may be self serving, but TransPort is the simplest way. http://www.componentscience.net/elements/transport Phillip H. Blanton www.ComponentScience.net Email: Phillip at that domain that you see one line above the line you are reading now.