|
-
Mar 21st, 2006, 06:19 PM
#1
Thread Starter
Addicted Member
What does this mean?
I'm making a winsock chat program. and i get an "error: Address is not available from the local machine"
anyone know what that means or how to fix it?
Resizing
System Balloons
If your question is answered, please mark the thread resolved by pulling down the Thread Tools menu and clicking the Mark Thread Resolved button.
Remember to rate a post if you find it helpful 
-
Mar 21st, 2006, 08:56 PM
#2
Re: What does this mean?
it means............
Answer/Solution: Normally results from an attempt to create a socket with an address not on this machine.
WinSock description: The "address" it refers to is the remote socket name (protocol, port and address). This error occurs when the sin_port value is zero in a sockaddr_in structure for connect or sendto.
This error also occurs when you are trying to name the local socket (assign local address and port number) with bind, but Windows Sockets doesn't ascribe this error to bind, for some unknown reason.
can you show me the section code that is erroring
-
Mar 21st, 2006, 09:21 PM
#3
Frenzied Member
On error goto Trap
Trap:
in case of emergency, drop the case...
****************************************
If this post has been resolved. Please mark it as "Resolved" by going through the "Thread Tools" above and clicking on the "Mark Thread Resolved " option. if a post is helpful to you, Please Rate it by clicking on the Rate link right below the avatar
-
Mar 21st, 2006, 09:28 PM
#4
Thread Starter
Addicted Member
Re: What does this mean?
hmmm, works fine over my own network, but not out of it.
Resizing
System Balloons
If your question is answered, please mark the thread resolved by pulling down the Thread Tools menu and clicking the Mark Thread Resolved button.
Remember to rate a post if you find it helpful 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|