• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 691
  • Last Modified:

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.

Anyone?
0
fantasia123098
Asked:
fantasia123098
2 Solutions
 
shaneholmesCommented:
Have you tried looking at the Indy components (free).
There is a POP3 component which will do what you need.

See:

Indy - The Indy Project

http://www.indyproject.org/

There is documentstion and examples:

http://www.indyproject.org/

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

http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_20762308.html?query=Indy+Pop3&clearTAFilter=true

Hope this helps!

sholmes
0
 
OctabunCommented:
http://jvcl.sourceforge.net

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.
0
 
cwwkieCommented:
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.

cwwkie
EE Cleanup Volunteer
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now