1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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,283
    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