c: / program files / microsoft visual studio / vc98 / include / winsock2.h (148): error C2011: 'timeval': 'struct' type redefinitionc: / program files / microsoft visual studio / vc98 / include / winsock2.h ( 204): error C2011: 'hostent': 'struct' type redefinitionc: / program files / microsoft visual studio / vc98 / include / winsock2.h (217): error C2011: 'netent': 'struct' type redefinitionc: / program files / microsoft visual studio / vc98 / include / winsock2.h (224): error C2011: 'servent': 'struct' type redefinitionc: / program files / microsoft visual studio / vc98 / include / winsock2.h (231): error C2011: 'protoent': 'struct' type redefinitionc: / program files / microsoft visual studio / vc98 / include / winsock2.h (316): error C2011: 'in_addr': 'struct' type redefinitionc: / program files / microsoft visual studio / vc98 / include / winsock2.h (374): error C2011: 'sockaddr_in': 'struct' type redefinitionc: / program files / microsoft visual studio / vc98 / include / winsock2.h (384): error C2011: 'WSAData ':' struct 'Type Redefinitionc: / Program F iles / microsoft visual studio / vc98 / include / winsock2.h (436): warning C4005: 'SO_DONTLINGER': macro redefinition c: / program files / microsoft visual studio / vc98 / include / winsock.h (391): see previous definition of 'SO_DONTLINGER'c: / program files / microsoft visual studio / vc98 / include / winsock2.h (489): warning C4005:' AF_IPX ': macro redefinition c: / program files / microsoft visual studio / vc98 / include / winsock. H (449): See Previous Definition of 'AF_IPX'c: / Program Files / Microsoft Visual Studio / VC98 / Include / Winsock2.h (512): WARNING C4005:' AF_MAX '
: Macro redefinition c: / program files / microsoft visual studio / vc98 / include / winsock.h (468): see previous definition of 'AF_MAX'c: / program files / microsoft visual studio / vc98 / include / winsock2.h (518 ): error C2011: 'sockaddr': 'struct' type redefinitionc: / program files / microsoft visual studio / vc98 / include / winsock2.h (527): error C2011: 'sockproto': 'struct' type redefinitionc: / program files / microsoft visual studio / vc98 / include / winsock2.h (566): error C2011: 'linger': 'struct' type redefinitionc: / program files / microsoft visual studio / vc98 / include / winsock2.h (579): warning C4005 : 'SOMAXCONN': macro redefinition c: / program files / microsoft visual studio / vc98 / include / winsock.h (533): see previous definition of 'SOMAXCONN'c: / program files / microsoft visual studio / vc98 / include / winsock2 .h (604): warning C4005: 'FD_READ': macro redefinition c: / program files / microsoft visual studio / vc98 / include / winsock.h (551): see previous definition of 'FD_READ'c: / program files / microsoftvisual studio / vc98 / include / winsock2.h (607): warning C4005: 'FD_WRITE': macro redefinition c: / program files / microsoft visual studio / vc98 / include / winsock.h (552): see previous definition of 'FD_WRITE 'c: / program files / microsoft visual studio / vc98 / include / winsock2.h (610): warning C4005:' FD_OOB ': macro redefinition c: / program files / microsoft visual studio / vc98 / include / winsock.h (553 : See Previous Definition of 'FD_OOB'c: / Program Files / Microsoft Visual Studio / VC98 / Include / Winsock2.h (613): Warning C4005:' FD_ACCEPT '
: Macro Redefinition C: / Program Files / Microsoft Visual Studio / VC98 / INCLUDE / WINSOCK.H (554): See Previous Definition of 'FD_ACCEPT' ........
When I prepared a multicast class, I added the above questions when I was debugged. The main thing is to prompt XXXXRedefinition: Which guide is in the question, thank you first