i`m new to socket programming using C. i`ve made a client and been given the server code. what i would like to do is to accept and validate IP address..
now i`ve been following Beej's Guide and several other online resources and did search this forum.. almost all these guides suggest to use inet_ntoa() and inet_aton() .. the thing is i`m forced to use VC++ for my C assignment and the header files are not available in the VC IDE.
i would greatly appreciate it if anyone of you could tell me what header file i could use(with VC++ ofcourse) . or suggest any other alternative that would help me to validate an IP address.
thankyou very much for your time.