Click here to Skip to main content
13,002,000 members (74,794 online)
Rate this:
Please Sign up or sign in to vote.
I need an example of this using pure Winsock API.

Does someone have a demo?

Thanks in advance.
Posted 28-Nov-10 14:30pm
Updated 20-Dec-10 22:05pm
Dalek Dave433.3K
Dalek Dave 21-Dec-10 4:05am
Edited for Readability.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

There's a sample on MSDN. Seek and ye shall find.
Dalek Dave 21-Dec-10 4:06am
Admirable Advice!
Rate this: bad
Please Sign up or sign in to vote.

Solution 2


I've found that using the Indy components that come with Delphi work quite nicely for anything to do with socket programming. There are a few demos that come with it as well including emailing, FTP, TCP/IP and more. If your version of Delphi does not have these demos you should be able to get them (and any updates to the Indy components) from the Indy site.

Hope that helps!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170624.1 | Last Updated 21 Dec 2010
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100