the file that you included before those 2 include files may have a syntactic error in it. not to mention the messages there probably say enough, did you include both mswsoc.h and winsock2.h? you don't need both, just use winsock2.h. that should squabble the re-definition
|