1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

connection to server in win32

Discussion in 'Win32' started by sureshv, Aug 6, 2007.

  1. sureshv

    sureshv New Member

    Joined:
    Aug 6, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    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
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,276
    Likes Received:
    364
    Trophy Points:
    83
    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.
     

Share This Page