fixed up htonl on port creation, still not working though...