So I'm a novice network programmer by any means, but still all the network programming I've ever done has been in Linux / Cocoa. So, I'm curious as to why I can't even create a socket in my new windows application. I'm sure there's something dreadfully and obviously wrong with it. Can someone tell me what it is? I am being told:
Error 5 error LNK2001: unresolved external symbol _socket@12 responder.obj Responder
Error 6 fatal error LNK1120: 1 unresolved externals
Thanks a bunch!
int MAXRECVSTRING = 255;
struct sockaddr_in broadcastAddr;
unsigned int broadcastPort;
broadcastPort = 8004;
sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP);
if (sock < 0)
// Still much more to come...