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,336
    Likes Received:
    377
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice