H
Harshit
I am working on socket programming, encountered a new and strange
problem today.
I am using #define PORT 80, before main(), and I am calling PORT in one
of the statments inside main(), I get an error, I don't know why this
error is occuring. If i remove PORT in the statement and substitute it
by 80, my code works fine.
I am sure that #define works in C, any idea why my code is not
programming, i can also email my code if required.
Thanks
Harshit
problem today.
I am using #define PORT 80, before main(), and I am calling PORT in one
of the statments inside main(), I get an error, I don't know why this
error is occuring. If i remove PORT in the statement and substitute it
by 80, my code works fine.
I am sure that #define works in C, any idea why my code is not
programming, i can also email my code if required.
Thanks
Harshit