Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^3: Decode perl cgi response in C

by Corion (Pope)
on Jul 22, 2013 at 10:56 UTC ( #1045625=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Decode perl cgi response in C
in thread Decode perl cgi response in C

Maybe you want to learn about "sockets"? I assume that Unix Network Programming still is the authoritative book about this.

Basically, a "socket" is like a "file", except you can't seek on it, and it goes over the network. From C, you can read/write the socket and you only need to know about the protocol that is spoken over that socket.

The basic idea is that "download data" vs. "read data" is only a frontend issue and exists only for users, not for programs.

Comment on Re^3: Decode perl cgi response in C

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2015-11-26 17:04 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 (703 votes), past polls