Gathering data from ethernet card of PC using VB 6


Thread Starter


I'm doing a school final year project which requires me to do an interface display using VB6. But I do not know how to gather data from the ethernet card/port of the PC.

I'm actually doing a Modbus-OPC related project and I need to create an OPC server. But I am required to display the data coming in from the Modbus device/simulators by using VB 6.

Problem is that I do not know how to do the necessary programming to extract data from an ethernet card port and if possible from an RS232 port as well.

Can anybody help? Your help is greatly appreciated.
I don't know about the ethernet, but you can connect to the rs232 via a comm control (you have to add it to your toolbox).