Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : What is a socket?
| Subject: | What is a socket? |
| Posted by: | "Richard Bibby" (richard.bib..@profdoc.se) |
| Date: | Sun, 18 Jun 2006 21:13:06 |
Hej,
I am writing a service application that uses a idHTTP component, and an
idHTTPServer.
Most of the time I am handling incoming messages via idHTTPServer however
sometimes my applications needs to send an SMS and I do this by simply
Posting to an URL using the idHTTP component.
However occasionally I get a socket error when posting the SMS message. I
assume that this is because the idHTTPServer component has the socket open.
But I wondered what the socket defined as. Is it down to the port level, or
application or machine level? Could I have two sockets open if I used a
different port?
If not I guess its ok to gracefully handle the socket error, back off a bit,
and then retry?
/Richard