I'm attempting to connect a device via TCP to a server PC using Winsock. The device has a built in Ethernet card and is assigned an IP address. The device can recieve messages from the PC.
In the VB6 app, the Sub 'tcpServer_ConnectionRequest' recieves a message from the device, where the line 'tcpServer.Accept requestID' is in the above Sub. Unfortunately, the 'tcpServer_DataArrival' Sub never recieves any data from the device and am at a loss in determining what constitutes a 'DataArrival'.
Currently, I don't know if the problem lies in the data being sent or how the VB app is recieving it. After tcpServer.Accept is 'set' doesn't necessarily mean the Winsock control willingly accepts data and am wondering why.
Thanks,
Jim
In the VB6 app, the Sub 'tcpServer_ConnectionRequest' recieves a message from the device, where the line 'tcpServer.Accept requestID' is in the above Sub. Unfortunately, the 'tcpServer_DataArrival' Sub never recieves any data from the device and am at a loss in determining what constitutes a 'DataArrival'.
Currently, I don't know if the problem lies in the data being sent or how the VB app is recieving it. After tcpServer.Accept is 'set' doesn't necessarily mean the Winsock control willingly accepts data and am wondering why.
Thanks,
Jim