470,815 Members | 1,948 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

Re: Newbie VC++ 6.0 issues

typedef struct addrinfo {
int ai_flags;
int ai_family;
int ai_socktype;
int ai_protocol;
size_t ai_addrlen;
char* ai_canonname;
struct sockaddr* ai_addr;
struct addrinfo* ai_next;
} ADDRINFOA,
*PADDRINFOA;

i pasted theabove in the code and it worked...
also i included this definition

#define AI_PASSIVE 1 which you can find in the header file of
ws2tcpip.h
Jun 27 '08 #1
0 929

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Seabass | last post: by
5 posts views Thread by areejan2000 | last post: by
4 posts views Thread by ultranet | last post: by
8 posts views Thread by The unProfessional | last post: by
4 posts views Thread by Dan Diephouse | last post: by
4 posts views Thread by batista | last post: by
5 posts views Thread by Pardeep Singh | last post: by
reply views Thread by kaypohsingaporean | last post: by
5 posts views Thread by Dave | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.