Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: Custom file server

by Aighearach
on Nov 04, 2004 at 12:46 UTC ( #405158=note: print w/ replies, xml ) Need Help??

in reply to Re: Custom file server
in thread Custom file server

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

Comment on Re^2: Custom file server

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2015-11-25 11:12 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (674 votes), past polls