How to write byte by byte to socket in PHP?

Posted by PatlaDJ on Stack Overflow See other posts from Stack Overflow or by PatlaDJ
Published on 2010-03-18T20:39:01Z Indexed on 2010/03/18 20:41 UTC
Read the original article Hit count: 127

Filed under:
|
|
|

How to write byte by byte to socket in PHP?

For example how can I do something like:

socket_write($socket,$msg.14.56.255.11.7.89.152,strlen($msg)+7);

The pseudo code concatenated digits are actually bytes in dec. Hope you understand me.

© Stack Overflow or respective owner

Related posts about php

Related posts about sockets