Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mswinsck.ocx don't work (for me).
Message
From
19/03/1999 03:55:13
 
 
To
19/03/1999 02:26:53
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00199637
Message ID:
00199645
Views:
14
>I try to use this control in VFP5 identical to example in vbconusingwinsockcontrol.htm without success.
>Two forms:
>first - frmServer, containing OCX tcpServer
>- init method of frmServer:
>thisform.tcpServer.localport=1001
>thisform.tcpServer.listen()
>- ConnectionRequest method of tcpServer:
>wait "hello" wind
>
>second - frmClient, containing OCX tcpClient, commandbutton Connect
>- init method of frmClient:
>thisform.tcpClient.remotehost="papo"
>thisform.tcpClient.remoteport=1001
>- click method of Connect:
>thisform.tcpClient.connect()
>
>After clicking Connect my computer don't say hello ...
>I have good experiences with mscomm32.ocx, so (in my children's naivity) I introdused, it will be the same problem.
>
>Is somewhere something, what I forgot?
>(I visit msdn, mabry, socketwrench, download, winfiles)

First, ensure that "papo" is being resolved into IP address. If no, use directly IP addresses (like "192.168.1.1") or add appropriate line into hosts file or ... (there are many choices including DNS serveres etc, but they're not so important for you now).
Second, you can check proper work of server by connecting to it's port from telnet.exe
Third. Actually I'd recommend you to begin with localhost address (127.0.0.1). It is loopback address and you can debug your TCP/IP applications having only one computer wit network adapter.
Virtually yours, Dmitry

mailto: me@duginov.com * www.duginov.com * ICQ UIN 6769428
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform