TCP client tutorial needed

Can anyone post a simpel TCP/IP client example? I need to connect to my mail server and get a list of new mails (POP3 STAT) and I need to download them into a memo field, one by one.

Who is Participating?
Have you tried looking at the Indy components (free).
There is a POP3 component which will do what you need.


Indy - The Indy Project

There is documentstion and examples:

This is always a very widely used component set, there is much information to be found in the google groups (news groups)

also there are threads on EE

Hope this helps!


It is the Jedi project (free) which has lots of components including TCP/IP clients.

The TCP/IP client per se is trivial (just a socket). That's why there are lots of them. If you need some actual functionality, like downloading pages from Internet, you will have aditional problems like going through login windows, etc. IMHO Jedi does more of that stuff then Indy. Some other free library i do not know about may be even better, so choose responsibly.

Actually you need not a TCP/IP client, but a POP3 client. Jedi does that too.

The downside of Jedi is that help for VCL components is in the source code and example projects.
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup topic area:
   Split: shaneholmes {http:#13744697} & Octabun {http:#13746189}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

EE Cleanup Volunteer
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.