🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Socket Info

#198
From: lredmond
Date: Tue, 26 Oct 2004 23:24
10 lines
1710 bytes
I have a clinet which keeps a dedicted connection to a server and send 
messages.  my problem is that a  message has to wait for a response that can 
take several seconds to return.  I have a timeout set say for 10 seconds if 
I dont get a response then fail my message and send the next one in he 
queue.  Sometimes this occurs and the programs sends a messages while the 
response comes back ( which took a little more than 10 seconds which causes 
a deadlock....can this process be multithreaded... I know I can increase the 
wait period but now that slows down my process alot since I'm dealing with 
thousands of messages.  I need to send multiple messages and not worry about 
deadlocks. 
Technical Details
Message-ID: <417edcd3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1089d0,9b698b9dbdbcfb32,start
X-Google-Attributes: gid1089d0,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "lredmond" <lredmond@nyc.rr.com>
Newsgroups: borland.public.jbuilder.java.api
Subject: Socket Info
Date: Tue, 26 Oct 2004 19:24:38 -0400
Lines: 12
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: 24.110.97.165
Message-ID: <417edcd3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1098833107 24.110.97.165 (26 Oct 2004 16:25:07 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail