Menu

#17 Use getaddrinfo for resolving and connecting

open
nobody
Networking (1)
5
2008-03-04
2008-03-04
John Wright
No

Use getaddrinfo() for resolving, socket creation and connecting so that IPv6 hosts can be connected to.

Discussion

  • John Wright

    John Wright - 2008-03-04

    Patch to make use of getaddrinfo

     
  • Jeff Birac

    Jeff Birac - 2008-08-22

    Logged In: YES
    user_id=2189094
    Originator: NO

    Could someone provide a little more detail about this patch?

     
  • John Wright

    John Wright - 2008-08-27

    Logged In: YES
    user_id=418008
    Originator: YES

    CotV uses gethostbyname() to resolve machine names typed into the connection dialogue. This method does not return IPv6 addresses if they exist. This patch replaces the use of gethostbyname() with getaddrinfo() which returns both IPv4 and IPv6 addresses so that you can connect to IPv6 VNC servers as long as they have a hostname which resolves to their IPv6 address.

     
  • dustinac

    dustinac - 2010-10-24

    This patch is included in Chicken, a fork/revival of Chicken of the VNC:

    https://sourceforge.net/projects/chicken/

     

Log in to post a comment.