Results 1 to 4 of 4

Thread: What does this mean?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Posts
    129

    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

  2. #2
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    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
    Chris

  3. #3
    Frenzied Member d3gerald's Avatar
    Join Date
    Jan 2006
    Posts
    1,348

    Re: What does this mean?

    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

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Posts
    129

    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
  •  



Click Here to Expand Forum to Full Width