Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 397 Tom caught a problem I overlooked: clnttcp_create is a public interface. You updated the function definition to take SOCKET*, but the declaration still says int*. Please update the header (and since it gets installed, you can only use SOCKET for Windows environments, it has to stay with int for UNIX). You might also want to look into why compile-time warnings didn't catch this for you....