Wed Sep 5 22:30:41 CEST 2007 Lennart Kolmodin <kolmodin@dtek.chalmers.se> * Use CSockLen when appropriate Thu Sep 6 06:21:13 CEST 2007 Lennart Kolmodin <kolmodin@dtek.chalmers.se> * alloca and poke is a 'with' Sat Sep 8 12:02:17 CEST 2007 Lennart Kolmodin <kolmodin@dtek.chalmers.se> * Fix abstract unix sockets Using abstract unix sockets is a bit different than regular unix sockets. Abstract unix sockets are identified with that the path starts with a zero and doesn't have the trailing zero. Thus, this patch contains the following changes: 1) Correctly count the bytes used in a unix socket address. 2) Make peekSockAddr aware the socked address length. The old implementation relied on a zero terminated path, which abstract unix sockets are not. 3) Update other functions to respect address length. 4) A bit of cleanup and use of CSockLen instead of CInt.