]> git.ipfire.org Git - thirdparty/squid.git/commit
Add in a recv() wrapper - comm_recv().
authoradrian <>
Mon, 21 Oct 2002 11:47:25 +0000 (11:47 +0000)
committeradrian <>
Mon, 21 Oct 2002 11:47:25 +0000 (11:47 +0000)
commit365f12a92856606e8452a59f6ffa37a8f38253d9
tree5f463c0c5f96febcf703c378a33285f3f71683b0
parent063dc1eb27ba89639ece7c480b6f40740c6b77d9
Add in a recv() wrapper - comm_recv().

From FreeBSD's recv/recvfrom:

     If from is non-nil, and the socket is not connection-oriented, the source
     address of the message is filled in.  Fromlen is a value-result parame-
     ter, initialized to the size of the buffer associated with from, and mod-
     ified on return to indicate the actual size of the address stored there.

.. so comm_recv() calls recv_from()
src/comm.cc
src/comm.h