Article View: borland.public.cppbuilder.internet.socket
Article #4633Re: Blocking Socket Help
From: Remy Lebeau (TeamB)
Date: Fri, 07 Jan 2005 20:53
Date: Fri, 07 Jan 2005 20:53
19 lines
1830 bytes
1830 bytes
"Bob Gonder" <notbg@notmindspring.invalid> wrote in message news:e8rtt0hpur3uhbmfu9aocea2u76lr1qqvd@4ax.com... > Could you have the server send a "shutdown" message to > the clients so they would cease trying to reconnect? I had considered mentioning that earlier, but did not. Under ideal conditions, when everything is managed properly, such a packet is not actually needed. > Will this code actually close all connections? The connections are not removed from the list until they are physically freed from memory. Whether that happens immediately or not depends on whether the server is being used in blocking or non-blocking mode. Gambit
Technical Details
Message-ID:
<41def727$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news-out2.kabelfoon.nl!83.128.0.10.MISMATCH!newsfeed.kabelfoon.nl!213.218.66.70.MISMATCH!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41deb491$1@newsgroups.borland.com> <e8rtt0hpur3uhbmfu9aocea2u76lr1qqvd@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,b1c5fb84bd800066 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <41deb491$1@newsgroups.borland.com> <e8rtt0hpur3uhbmfu9aocea2u76lr1qqvd@4ax.com> Subject: Re: Blocking Socket Help Date: Fri, 7 Jan 2005 12:53:02 -0800 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <41def727$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1105131303 68.69.17.41 (7 Jan 2005 12:55:03 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news-out2.kabelfoon.nl!83.128.0.10.MISMATCH!newsfeed.kabelfoon.nl!213.218.66.70.MISMATCH!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail