Hi,
I'm developing a gnutella client. But I have one problem:
After, connect and ping... a pong response arrive from the server.
The problem is:
I can't translate the IP.
I tried to use inet_ntoa, struct in_addr,etc...
But always the response are some like that:
163.82.0.0 or 79.88.0.0
How can I get a correct IP?
My header:
typedef struct {
I'm developing a gnutella client. But I have one problem:
After, connect and ping... a pong response arrive from the server.
The problem is:
I can't translate the IP.
I tried to use inet_ntoa, struct in_addr,etc...
But always the response are some like that:
163.82.0.0 or 79.88.0.0
How can I get a correct IP?
My header:
typedef struct {