lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 3/6/07, Mark Edgar <medgar123@gmail.com> wrote:
In the hypothetical design of dual-fd sockets (let's call these
twockets), a close() on the writing twocket is equivalent to
shutdown(sock, SHUT_RD) on the socket, and a close() on the reading
twocket is equivalent to shutdown(sock, SHUT_WR) on the socket.

Oops, I think I meant that SHUT_RD is equivalent to closing the
reading twocket, and SHUT_WR is equivalent to closing the writing
twocket.

    -Mark