Hi All;
I'm completely new to this. After placing the winsock ole
on a form, the following connection code consistently returns with a state "Error" of 9 even though Winsock is running on the remote host and I can ping it without difficulty:
WITH THISFORM.oleSock
IF .state != 0
.OBJECT.CLOSE()
ENDIF
.protocol = 0
.remoteHost = "192.168.1.101"
.remotePort = 0
.localPort = 0
.OBJECT.CONNECT()
ENDWITH
Any help is appreciated,
Thanks,
Alan
I'm completely new to this. After placing the winsock ole
on a form, the following connection code consistently returns with a state "Error" of 9 even though Winsock is running on the remote host and I can ping it without difficulty:
WITH THISFORM.oleSock
IF .state != 0
.OBJECT.CLOSE()
ENDIF
.protocol = 0
.remoteHost = "192.168.1.101"
.remotePort = 0
.localPort = 0
.OBJECT.CONNECT()
ENDWITH
Any help is appreciated,
Thanks,
Alan