🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2336

Re: How many size socket data can send ?

#2336
From: Paul Loht
Date: Wed, 04 Apr 2001 16:07
9 lines
1368 bytes
> > I have 2 MBytes string data want to send to one local network computer
using
> > by java.io.net.Socket (TCP/IP), but I found that the machine has
received
> > some data loss.

Large data streams are getting broken up in transit. it's normal behavior.
You simply need to loop on read and put them back together, and yes, the
chunks will arrive in order.
Technical Details
Message-ID: <3acb46f5$1_1@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!bignews.mediaways.net!news-fra.pop.de!news-fra1.dfn.de!news-lei1.dfn.de!news-was.dfn.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3ac071e7$1_1@dnews> <3AC09928.243D0D19@foremail.nospamplease>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,4bd11f1bfaeb3c8
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-04-04 09:15:27 PST
Reply-To: "Paul Loht" <ploht@promisant.com>
From: "Paul Loht" <ploht@promisant.com>
Newsgroups: borland.public.jbuilder.java.api
References: <3ac071e7$1_1@dnews> <3AC09928.243D0D19@foremail.nospamplease>
Subject: Re: How many size socket data can send  ?
Date: Wed, 4 Apr 2001 12:07:43 -0400
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 66.32.85.160
Message-ID: <3acb46f5$1_1@dnews>
X-Trace: dnews 986400501 66.32.85.160 (4 Apr 2001 09:08:21 -0700)
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!bignews.mediaways.net!news-fra.pop.de!news-fra1.dfn.de!news-lei1.dfn.de!news-was.dfn.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews