On 03/02/2018 11:31 AM, ToddAndMargo wrote:
I just don't understand.
I want specifically (not a work around) want to make a
call to "getaddrinfo" and I don't know how to write in C.
(It is part of troubleshooting some other code that uses
getaddrinfo. I want to see what it sees.)
The port I am look for is TCP 6566 (I can do without
the port if need be).
The addresses I am looking for is both 192.168.255.10
And I have no clue how to use native call. I know I
am being a total mooch, but would some kind person mind
showing me how to call "getaddrinfo" with Native Call?
Forgot to add this:
GETADDRINFO(3) Linux Programmer's Manual
getaddrinfo, freeaddrinfo, gai_strerror - network address and
int getaddrinfo(const char *node, const char *ser
const struct addrinfo *hints,
struct addrinfo **res);
void freeaddrinfo(struct addrinfo *res);
const char *gai_strerror(int errcode);
Feature Test Macro Requirements for glibc (see feature_test_macros(7))
Computers are like air conditioners.
They malfunction when you open windows