X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=listati%2Faddrinfo.h;fp=listati%2Faddrinfo.h;h=7bd9408f10ceb8eef4922b9d591bfe8d8df02f26;hp=0000000000000000000000000000000000000000;hb=a3e1645556c933f9c430c507db629e31027c4dd9;hpb=3328cad7520ab00c506771acf63b2abecc0b8fc7 diff --git a/listati/addrinfo.h b/listati/addrinfo.h new file mode 100644 index 0000000..7bd9408 --- /dev/null +++ b/listati/addrinfo.h @@ -0,0 +1,11 @@ +struct addrinfo +{ + int ai_flags; /* Input flags. */ + int ai_family; /* Protocol family for socket. */ + int ai_socktype; /* Socket type. */ + int ai_protocol; /* Protocol for socket. */ + socklen_t ai_addrlen; /* Length of socket address. */ + struct sockaddr *ai_addr; /* Socket address for socket. */ + char *ai_canonname; /* Canonical name for service location. */ + struct addrinfo *ai_next; /* Pointer to next in list. */ +};