Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Dec : Re: how to check connection?
| Subject: | Re: how to check connection? |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Fri, 28 Dec 2007 16:22:03 |
"Craig" <firebirdwebguy@hotmail.com> wrote in message
news:47758c55$1@newsgroups.borland.com...
> If you pull the cable out of the wall, Neither side will ever
> see it, unless one side attempts to send data.
That depends on the NIC hardware and OS version.
Pulling a cable at the PC end MAY allow the NIC/OS to detect it and
invalidate any active sockets immediately. But that is not a guarantee.
I've seen cases where doing that can freak out the OS and completely lock it
up.
Pulling the cable out at the router/modem end will not allow the PC to
detect it at all, unless there is a low-level heartbeat between the NIC and
router/modem that times out quickly.
Gambit