#include
# define SOCKETMAX 128
Sockaddr_in siLocal [SOCKETMAX];
Compile error:
The error C2040: "siLocal" : "sockaddr_in [128]" and "sockaddr_in" indirect addressing different levels
The error C2088: "[" : illegal to struct
CodePudding user response:
Turned out to be a local variable to move to a global variable, and the other a global variable name clashesHave to do is to rename the