🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #4740

TWinSocketStream->Read returns ?

#4740
From: Niyazi Unugur
Date: Thu, 23 Dec 2004 12:21
8 lines
1061 bytes
read returns number of bytes read.

after successful WaitForData if read returns 0 means timeout or connection
closed.

in what cases read returns *-1* ?

thanks in advance
Technical Details
Message-ID: <41cb41cb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a1476e1a05b266d4,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Niyazi Unugur" <unugurn@hotmail.com>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: TWinSocketStream->Read returns ?
Date: Thu, 23 Dec 2004 14:21:36 +0200
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 212.174.59.103
Message-ID: <41cb41cb$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1103839691 212.174.59.103 (23 Dec 2004 14:08:11 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail