It looks that in PHP there is no need to do it, its done by itself, see http://www.php.net/manual/en/ref.sockets.php
-- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet "Arjen Brouwer" <[EMAIL PROTECTED]> a écrit dans le message de news: 001501c26ecc$0e685ee0$[EMAIL PROTECTED] > Is there in PHP an equivalent for the 'htons()' function in C? > It's for converting 16-bit values between host and network byte order. > Or can somebody help me program a function which does it? > > Cheers, > A > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php