Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #19677
| From | Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: ServerSocket Timeout Not Working |
| Date | 2012-11-09 18:35 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <slrnk9qj87.u9l.avl@gamma.logic.tuwien.ac.at> (permalink) |
| References | <a2meku$5rp$1@bcarh8ab.ca.nortel.com> <a2mgn3$30u$1@news.du.uab.ericsson.se> <807bfa80-0cc4-4862-b312-7904c4d6a133@googlegroups.com> <72ca8c0e-cc60-47c5-b166-fa8f6d56563b@googlegroups.com> <slrnk9qief.u9l.avl@gamma.logic.tuwien.ac.at> |
Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> wrote: > ruthabraham7@gmail.com <ruthabraham7@gmail.com> wrote: >> On Friday, 9 November 2012 09:14:54 UTC+5:30, ruthab...@gmail.com wrote: >>> Hi Everyone... >>> I am facing ..well...not exactly similar ..but a related problem.... >>> I am setting my ServerSocket timeout to 5 minutes... >>> after the accept call... >>> and I can see from my snoop output that we send an RETR for a >>> certain file at say 11:10:00 and get the '150' response from >>> the server the very same minute/second... >>> The 226 response comes only around 11:10:50 but before this, I >>> get a socket timeout exception....Any chance that this timeout >>> I am setting isnt getting set? >>> If so, what can I do to fix this? >> Forgot to mention, this is on a Solaris 5.10 machine... > I guess a so called "sscce"(*) would boost the chances of > someone being able to help. > *: http://sscce.org/ afternote: I'm a bit surprised that the ftp-server would send 226, if it didn't successfully transfer that file *somewhere*. Now, if your client side throws a timeout-exception, then maybe it's just misinterpreting some other condition like EOF, or some command sent to the server may be wrong, causing the ftp-server to connect to somewhere else... That's where the sscce would come in handy.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: ServerSocket Timeout Not Working ruthabraham7@gmail.com - 2012-11-08 19:44 -0800
Re: ServerSocket Timeout Not Working ruthabraham7@gmail.com - 2012-11-08 19:52 -0800
Re: ServerSocket Timeout Not Working Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2012-11-09 18:22 +0000
Re: ServerSocket Timeout Not Working Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2012-11-09 18:35 +0000
csiph-web