I have a error on this line:
getaddrinfo(argv[1], DEFAULT_PORT, &hints, &servinfo)

DEFAULT_PORT is a macro I made to the port number.
the next 2 paramters are from:

struct addrinfo hints, *servinfo;
ZeroMemory(&hints, sizeof(hints));
hints.ai_family = AF_INET;
hints.ai_socktype = SOCK_STREAM;
hints.ai_protocol = IPPROTO_TCP;

There error is with: argv[1]
It is a undeclared identifier and I can't debug with this error.

I followed a tutorial to write all my code and it told me to write argv[1]...
but I thought I was suppposed to write the IP there, Should I write the IP there instead?
I dont really know what argv[1] means.

This if for a Client App.