Article View: borland.public.cppbuilder.internet.socket
Article #5362Re: TClientSocket in blocking mode ...
From: Remy Lebeau (TeamB)
Date: Fri, 20 Aug 2004 18:17
Date: Fri, 20 Aug 2004 18:17
16 lines
1371 bytes
1371 bytes
"Andreas Tirok" <at1712@web.de> wrote in message news:4125db6b@newsgroups.borland.com... > if (m_pStream->Size > 0) The Size property has no meaning to TWinSocketStream at all, it is not implemented and always return 0. The only thing you can do is Read() from the socket and see how many bytes were actually read. > l_Bytes = m_pStream->Read(m_ReceiveBuf, sizeof(m_ReceiveBuf)-1); Where and how is m_ReceiveBuf declared? Gambit
Technical Details
Message-ID:
<41263fe9$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4125bdc6$1@newsgroups.borland.com> <4125db6b@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,b0259efaad300f7e 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: <4125bdc6$1@newsgroups.borland.com> <4125db6b@newsgroups.borland.com> Subject: Re: TClientSocket in blocking mode ... Date: Fri, 20 Aug 2004 11:17:16 -0700 Lines: 18 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: <41263fe9$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1093025769 68.69.17.41 (20 Aug 2004 11:16:09 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail