根据https://stackoverflow.com/questions/28277079/need-i-push-sin-zero-sockaddr-in,我的选举保留了堆栈中的sin_zero空间(sub esp,8)。如果我推,好吧,我已经推了16个字节(sizeof(sockaddr_in)),但如果我不保留sin_zero的8个字节内核知道怎么样?
struct sockaddr_in {
short sin_family; // e.g. AF_INET, AF_INET6
unsigned short sin_port; // e.g. htons(3490)
struct in_addr sin_addr; // see struct in_addr, below
char sin_zero[8]; // zero this if you want to
};