Thank God...almost works. issue with network-byte order.