Reading the RFC recommendations (RFC 5952) for how to represent IPv6 addresses in the best way, I try to implement a function in C++ that converts an ...
Reading the RFC recommendations (RFC 5952) for how to represent IPv6 addresses in the best way, I try to implement a function in C++ that converts an ...
Is it valid to pass unsigned char array to inet_ntop() call? The code above works, but the man page says API expects network address structure in th ...
I have problem. I have code where I need to convert domain name to IP. For that purpose I am using function getaddrinfo(). But it seems, that when I c ...
I am reviewing the inet_ntop documentation. Typically, string builder operations in C return either a pointer to the end of the string, or an integer ...
I'm trying to build a tool to gather information about IP addresses based on domain names. I've been using inet_ntop to achieve this and is generally ...
I'am about to build an automatic intrusion detection system (IDS) behind my FritzBox Router in my home LAN. I'm using a Raspberry Pi with Raspbian Je ...
I'm writing a two way chat in C, but what I'd really like to do is have the chat server print the ip of the host when it starts up. My code thus far l ...
I'm trying to print an ip address from inet_ntop, but the output seems pretty weird. The program seems to work well, I succeed to connect the socket ...
I have an error with PHP 5.5 that does not occured with PHP5.3 and 5.4. With IPv6 addresses, the function inet_ntop() throws me an error: Invalid ...
I'm trying to write server application. I want to get client's ip. My problem is with inet_ntop function. I can't get it working properly. Here is my ...
From the "man" pages it looks like inet_ntop returns a string (const char*) which should be alright when comparing to NULL. However, in my program I g ...
How can I convert the return of the function inet_ntop (const char *) to string? The code: always results with segfault... ...
First of all, my code example: url variable contains the adress to be resolved (I'm working on simple client/server DNS resolver). If it can be res ...
On my Mac, inet_ntop produces this IPv6 address for a certain 128-bit value: On my FC15 Linux system, I get this IPv6 address presentation: My u ...