#include arpa/inet.h
int main(int argc, char *argv[]) {
struct addrinfo hints, *res, *p;
..
if ((status = getaddrinfo(argv[1], NULL, hints, res)) != 0) {
--
View this message in context:
http://www.nabble.com/Cygwin-and-C-socket-tp24221636p24221636.html
Sent from
On Jun 26 07:47, lrc wrote:
if ((status = getaddrinfo(argv[1], NULL, hints, res)) != 0) {
getaddrinfo isn't available in Cygwin 1.5.25, but will be available
in Cygwin 1.7. See http://cygwin.com/#beta-test
Corinna
--
Corinna Vinschen Please, send mails regarding
2 matches
Mail list logo