Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.
sendto(); ERROR
OK, I need some help with my sendto(). This is written using winsock2.h so it may look a little different.
while (i < send) {
sendto(sock, *packet, length + 1, 0, (struct sockaddr_in*)&info, sizeof(struct sockaddr_in));
i++;
}
Whenever that part of the program is error checked, it returns "expected primary expression before ',' token." could someone explain that to me?
Why are you passing packet like *packet
? Read the documentation.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/sendto_2.asp
Cheers, ~T