Article View: borland.public.cppbuilder.internet.socket
Article #5601Re: Confusion on Blocking Sockets
From: Remy Lebeau (TeamB)
Date: Tue, 20 Jul 2004 23:57
Date: Tue, 20 Jul 2004 23:57
23 lines
1616 bytes
1616 bytes
"mike" <mfbrowne@earthlink.net> wrote in message
news:40fd9118$2@newsgroups.borland.com...
> And now if I go through the connections like the following
> I'm not sure how to get the value of the variable;
for(i = 0; i < ServerSocket2->Socket->ActiveConnections; ++i)
{
TServerClientWinSocket *ClientSocket =
static_cast<TServerClientWinSocket*>(ServerSocket2->Socket->Connections[i]);
TMyServerThread *Thread =
static_cast<TMyServerThread*>(ServerSocket2->Socket->GetClientThread(ClientS
ocket));
if( Thread )
{
// use Thread->SomeVariable as needed...
}
}
Gambit
Technical Details
Message-ID:
<40fdb12a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40fd7549$1@newsgroups.borland.com> <40fd8a86$1@newsgroups.borland.com> <40fd9118$2@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,aa96f08785735f2d X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <40fd7549$1@newsgroups.borland.com> <40fd8a86$1@newsgroups.borland.com> <40fd9118$2@newsgroups.borland.com> Subject: Re: Confusion on Blocking Sockets Date: Tue, 20 Jul 2004 16:57:24 -0700 Lines: 25 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: <40fdb12a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1090367786 68.69.17.41 (20 Jul 2004 16:56:26 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail