help me in solving the exception at gethostbyname

Discussion in 'MFC' started by sureshv, Sep 13, 2007.

  1. sureshv

    sureshv New Member

    Joined:
    Aug 6, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    hi
    when iam trying to connect to the server an exception occurs.it occurs in the statement gethostbyname(host)

    the exception that occured states that as invalid argument.when iam first connecting its works.when iam trying to connect for second time it throws an exception.so anybody help me regarding this

    regards
    suresh
     

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