Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fine Tuning the Winsock ?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00792175
Message ID:
00800485
Views:
32
>The code above is used for accessing a HTTP server using the HTTP protocol. Not just any server. If you tried using that code to access an SMTP server or a FTP server it would not work.

Yes, I would have expected that myself, but oddly enough it worked for frequent FTP connections to the MSKB (ftp://ftp.microsoft.com/). Why did it work? I have no idea. I haven't tried it with SMTP, though.



>Using Winsock, you need to issue a connect and use the senddata and getdata commands. To create the server you need to use the Listen command. Then when a connection comes in you need to use another winsock control to accept it. The main control just listens that way you can have multiple concurrent connections to the same server.

Yep, that's what I need to use -- Listen. Do you know of a VFP syntax for that, that you'd be willing to share?

Thanks,
Jeff

Read about the greatest fraud in the history of mankind.
See TaxableIncome.net.
Previous
Reply
Map
View

Click here to load this message in the networking platform