Article View: borland.public.cppbuilder.internet.socket
Article #4392Socket Error # 10040 Message To Long
From: Jonathan Benedicto
Date: Sat, 19 Feb 2005 20:01
Date: Sat, 19 Feb 2005 20:01
18 lines
1373 bytes
1373 bytes
I'm building an application that transmite data packets using the Indy UDP
set.
But, I've been encountering a exception being thrown in my code. The
exception is Socket Error # 10040 Message too long.
The exception happens right at this line, where DataSize is a int.
if(UdpClient->ReceiveBuffer(&DataSize, sizeof(int), 1000) == sizeof(int)){
Is the remote server (I built this too) sending too much data, or have I not
built this client right.
Thank you for any help.
--
Jonathan
Technical Details
Message-ID:
<42179afe@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,1c3545c190705d18,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Jonathan Benedicto" <incorrect@no.server> Newsgroups: borland.public.cppbuilder.internet.socket Subject: Socket Error # 10040 Message To Long Date: Sat, 19 Feb 2005 15:01:05 -0500 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 69.158.97.63 Message-ID: <42179afe@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1108843262 69.158.97.63 (19 Feb 2005 12:01:02 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail