Hi,

> to the target server, I need to send just two bytes, 0xBB and
> 0x83

You only need the HttpCli if you use HTTP protocol. Your device does not. It
uses his own protocol (receiving 2 bytes - sending results). So you need to
develop a simple TCP client program using TWSocket.

If you need to send the first item after the device gives you some welcome
data then you have to examine that in OnDataAvailable and send from there.
If it does not you send the 2 bytes in the OnSessionConnected event.

Just fire some more questions if you need it :)

-- 
mvg, Wilfried
http://www.mestdagh.biz
http://www.comfortsoftware.be
http://www.expertsoftware.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to