🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Socket Error # 10040 Message To Long

#4404
From: Remy Lebeau (TeamB)
Date: Tue, 22 Feb 2005 18:47
14 lines
1454 bytes
"Jonathan Benedicto" <incorrect@no.server> wrote in message
news:4217d1de@newsgroups.borland.com...

> Do you think it is caused by my reading just a int-sized
> chunk of the datagram ?

No.  The datagram itself is too large for the socket to buffer internally
before your own code then reads it from the buffer.  Once in the buffer, it
doesn't matter how your code reads it.  But the socket has to receive and
buffer it first, and that is where the error is coming from.


Gambit
Technical Details
Message-ID: <421b7e58$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <42179afe@newsgroups.borland.com> <4217d04f$1@newsgroups.borland.com> <4217d1de@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,1c3545c190705d18
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: <42179afe@newsgroups.borland.com> <4217d04f$1@newsgroups.borland.com> <4217d1de@newsgroups.borland.com>
Subject: Re: Socket Error # 10040 Message To Long
Date: Tue, 22 Feb 2005 10:47:57 -0800
Lines: 16
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: <421b7e58$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1109098072 68.69.17.41 (22 Feb 2005 10:47:52 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail