Posted on 2003-02-24
I have an application which communicates with a custom device via the serial port (RS232). It sends out binary data to the device, eg, 1A0FD3, and recieves a response in a similar fashion.
I am using the MSComm control to do this and have the settings to sendasBinary.
What I would like to know is
1) How could I send the info via the port without using MSComm or any other controls?
2) If we upgraded the system to run via LAN sothat we could add multiple devices, how do I send the info via LAN? Obviously the hex numbers will be the same, but what is the code to connect to the LAN, send info and recieve info?