I have been doing some winsock programing recently when I encounted this peice of code:
error=function(local,(sockaddr*) &server,sizeof(server);
What I am confused about is the ...(sockaddr*) &server... part. What is the meaning of this?




Posted 30 December 2012 - 01:59 PM
error=function(local,(sockaddr*) &server,sizeof(server);
|
|
Query failed: connection to localhost:3312 failed (errno=111, msg=Connection refused).
|
