Hm... are you using Barr's IO::Socket library? At the
corporation where I worked we have learned that the IO::Socket
library, although excellent for very light socket work,
has a horrible time dealing with error conditions. It would
appear like error handling was not thoroughly designed into
the infrastrucutre, it feels as if it almost was an afterthought.
My suggestion for you, as amazingly horrible as this might
sound, is attempt to recreate the problem utilizing more
low level socket code (in other words, do the work by hand.)
If however i've been wrong all along, and you aren't useing
the IO::Socket library, then go the other way, and try it :)
Maybe you are forgetting something that needed to be done (an
fflush here, an fflush there, here an fflush, there an fflush,
everywhere an fflush.) Sorry I couldn't be more helpful, but
without more of a description of the problem domain, that's
as close as we are going to get :)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.