* Thus wrote Ren Fournier ([EMAIL PROTECTED]): > Hi, > > I'm developing a PHP program that must send data, over a socket > connection, to a server. The server requires the data in a particular > format, e.g.: > > FORMAT: > 3-byte delimiter - Message Length (N = 4 bytes) - Message Type (4 > bytes) - Message Body (N - 4 bytes) - 3-byte Delimiter > > SAMPLE MESSAGE: > STX00110018Hello WorldENX
>From the looks of this you wont need to use pack(). Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php