• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1307
  • Last Modified:

Runtime error 10049


I get Run Time Error '10049'.....Address is not available on the local machine. I am using winsock control in my application. How do I correct this error. Please help me
0
gauravdhup
Asked:
gauravdhup
1 Solution
 
rpaiCommented:
Take a look here, might be of some help:-
http://www.sockets.com/err_lst1.htm
0
 
gencrossCommented:
Here is a little bit more of an explanation from an MS KB article...May give you a clue.

WSAEADDRNOTAVAIL (10049)
 
Cannot assign requested address.
 
The requested address is not valid in its context. Normally results from an attempt to bind to an address that is not valid for the local machine, or connect/sendto an address or port that is not valid for a remote machine (e.g. port 0).
0
 
DanRollinsCommented:
Hi gauravdhup,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept rpai's comment(s) as an answer.

gauravdhup, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
SpideyModCommented:
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now