๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #7491

Socket

#7491
From: Oscar
Date: Wed, 24 Jan 2001 17:41
11 lines
1323 bytes
I have some problems with getting information throw a socket. I send informaction from one to another application, if I do it in the same computer works good, but if I do it with differents computters when de size of the information is more than 4500 bytes I don't get the information.

while(iavailabel==0) {
   iavailable=s.available();
   .. sleep(1) ..
}
and I get the information. I suppose is another "packet" comming throw the net ... so I have to implement a protocol and finish to get the information until I get a \n or \n\r or something like that or is available another solution.

       Thank๏ฟฝs.
}
Technical Details
Message-ID: <3a6f13c8_1@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!bornews.borland.com!dnews!207.105.83.65

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,68a875805acfaa3,start
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2001-01-24 09:43:10 PST
From: "Oscar" <oscar@jofre.com>
Sender: "Oscar" <oscar@jofre.com>
Reply-To: "Oscar" <oscar@jofre.com>
Subject: Socket
Newsgroups: borland.public.jbuilder.java.swing
X-User-Info: 62.174.69.106 62.174.69.106    
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3a6f13c8_1@dnews>
Date: 24 Jan 2001 09:41:28 -0800
X-Trace: 24 Jan 2001 09:41:28 -0800, 207.105.83.65
Lines: 11
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!bornews.borland.com!dnews!207.105.83.65