Open linyouhappy opened 5 years ago
struct sockaddr saddr; socklen_t socklen = 0;
change like this: struct sockaddr saddr; socklen_t socklen = sizeof(saddr); bzero(&saddr, sizeof(saddr));
struct sockaddr saddr; socklen_t socklen = 0;
change like this: struct sockaddr saddr; socklen_t socklen = sizeof(saddr); bzero(&saddr, sizeof(saddr));