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.
pNodeName [in, optional]
A pointer to a NULL-terminated ANSI string that contains a ho
st (node) name or a numeric host address string. For the Internet protocol, the numeric host address string is a dotted-decimal IPv4 address or an IPv6 hex address.
So if it was set into your argv[1] then it should work, otherwise you'd be probably much easier pass the ip-address directly!?
Bookmarks