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

Re: maybe OT, connection speed

by CubicSpline (Friar)
on Sep 26, 2001 at 19:28 UTC ( [id://114828]=note: print w/replies, xml ) Need Help??


in reply to maybe OT, connection speed

This kind of depends on what you're asking for? Do you mean, is there a way to implement this yourself in your own client/server application architecure? Then 'Certainly!' If you mean hooking up this sort of functionality to some other application, or adding the capability to a client without having any control over the server, then I'd say 'I don't know.'

When I've done this in the past, I have my servers response to a client begin with a preamble that includes the length, in bytes, of the response as a whole. Then all the client has to do is keep a running total of the number of bytes that have come in on the socket. HTTP does the same thing with the Content-Length header.

HTH

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2024-04-24 17:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found