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:
00800511
Views:
35
If you aren't using the Winsock control and you are using Visual FoxPro I wouldn't be able to provide you sample code.

Any and all work I do with network protocols is done in Visual C++ when it comes to the socket level. I started my company because I noticed the difficulty with creating projects in other languages without the aid of third party controls.

I am quite sure you can do it but you will need some way of being notified that a connection is being requested. I don't remember off the top of my head if this is via callback, message post, or an event object.

Your previous link will help you initialize the Winsock stack but that is are far as it went. You will still need to create a socket, bind to a port, issue a listen command and then handle the acceptance with a different socket.
Brian Seekford
Seekford Solutions, Inc.
http://www.SeekfordSolutions.com
Internet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform