hi everyone Iam trying to connect to server in win32 .iam getting exception and application is closing in these line if( connect (sock,(LPSOCKADDR)&sin, sizeof(SOCKADDR_IN) ) ). help me regarding this regards suresh
It's too little information for any response. The Crash is not because of the function call but the parameter value you pass in the function.