On Mon, Jun 20, 2005 at 09:37:49PM +0000, Pavlin Radoslavov wrote: > Log message: > Compilation bug fix: the last argument to getpeername() > should be a pointer to socklen_t instead of pointer to int. > > [Problem found on MacOS X 10.4 with gcc-4.0.] This might need a conditional cast for Windows:- http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/send_2.asp