Search:

Type: Posts; User: chaos5687

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    11,667

    I have just checked the man pages and apparently...

    I have just checked the man pages and apparently getaddrinfo() doesn't mind hints.ai_family being set to AF_UNSPEC.In that case it will return both available IPv4 and IPv6 addresses...
    Also when I...
  2. Replies
    8
    Views
    11,667

    Thnx for your help so far. I have just solved the...

    Thnx for your help so far. I have just solved the problem. All I had to do was changing hints.ai_family from AF_UNSPEC to AF_INET...

    Do you have any idea why that could be? I thought my code could...
  3. Replies
    8
    Views
    11,667

    I name it as "Other-pc", that worked on C# so I...

    I name it as "Other-pc", that worked on C# so I assumed it wouldn't cause any problems in C either.

    It'd be great if you could give me an example on formatting the name :)

    Do you mean...
  4. Replies
    8
    Views
    11,667

    getaddrinfo() can't resolve hostname

    Hi,

    I have recently started network Programming for Linux (though I use windows, I believe it's still compatible via cygwin).

    Anyways, I have a small code where I pass in the hostname and the...
Results 1 to 4 of 5