make a socket non-blocking.
export a function to forward current pointer on reading data.
fix the bug that did not properly forward an end pointer of a packet.
refine read/write functions.
move packet read/write functions.
add a wrapper library function for accept() in order to make socket
blocking consistent.
avoid infinite loop on non-blocking socket.
consider EINTR on accept().
cosmetic change.
properly set address length on accept().
block on accept() for now.
more verbosity.
fix logging message.
align heading space of a packet when resetting the packet, and do not
automatically reset a packet when enqueueing the packet.
add a function to prepend a packet.
add a function to convert an address family to a protocol family.
add a function to compute a size of sockaddr structure.
add a wrapper function to connect a host.
do not include an unnecessary header file.
move a definition of a constant value.