Search found 1 match
- Wed Apr 21, 2004 10:41 pm
- Forum: PHP - Code
- Topic: converts a u_long from host to TCP/IP network byte order
- Replies: 0
- Views: 164
converts a u_long from host to TCP/IP network byte order
converts a u_long from host to TCP/IP network byte order (which is big-endian). E.g (vc++) lNow=4221114; ulNetVal = htonl (lNow); ulNetVal give result 3127394304 In Vc++ htonl function can converts a u_long from host to TCP/IP network byte order (which is big-endian) In PHP, Is there is any way we c...