Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Custom file server

by jano (Initiate)
on Nov 15, 2002 at 19:34 UTC ( #213246=note: print w/ replies, xml ) Need Help??

in reply to Custom file server

Hi: You know I have a question as you know your that the connection not hill before finishing envio of the message, exists a form to know when to the connection is broken?

Comment on Re: Custom file server
Replies are listed 'Best First'.
Re^2: Custom file server
by Aighearach on Nov 04, 2004 at 12:46 UTC
    I've updated the code so that when it is done reading, it will print both the bytes read and also the expected bytes read. I doubt that is all that is needed to handle the actual cases, but it would at least cover the simple case where the client closes the connection. If you need it to be more robust, give it a whack and post what you have, and I'll help with any problems you have.

    Snazzy tagline here

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://213246]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2016-02-11 01:44 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (358 votes), past polls