Original Post
When creating the client side socket using WinSock, how do I input an actual IP where "ip" is in the following: htonl(ip). I tried putting in a few different formats but say I wanted to put in the IP, "198.162.0.1" how would I go about converting that into a format that the htonl() function can read? Also, I tried using telnet in the command promt with windows xp and got no connection every time, why can it not connect to anything? -Chris