Yes, but on a Little Endian machine, both ntohl() and htonl() swap bytes around. On a Big Endian machine, both ntohl() and htonl() do nothing.
Right -- ntohl and htonl both do the same thing as each other (assuming consistent bytes) -- but they don't necessarily do the same thing as OP's code. Looking back, your point was probably that ntohl and htonl do the same thing regardless, so there's no need to "choose". I'm pretty sure my point was that yes, sometimes you have to type "ntohl" and sometimes you have to type "htonl", but (1) why reinvent the wheel and (2) it's nice if you can tell just by looking why you're flipping something around.