Click here to Skip to main content
11,926,429 members (59,557 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 15:30pm
Edited 20-Dec-10 23:05pm
Dalek Dave433.2K
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
Web01 | 2.8.151126.1 | Last Updated 21 Dec 2010
Copyright © CodeProject, 1999-2015
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