Re: htons function in PHP

From: Date: Tue, 08 Oct 2002 13:44:37 +0000
Subject: Re: htons function in PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-119255@lists.php.net to get a copy of this message
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 nicos@php.net www.WorldAKT.com - Hébergement de sites Internet "Arjen Brouwer" <arjenjb@wanadoo.nl> a écrit dans le message de news: 001501c26ecc$0e685ee0$308c49d5@WORKSTATION1... > 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 > > >

« previous php.general (#119255) next »