Actually yes I have.  Many times as a matter of fact.
What was happing was that the 0xC1 was being translated into it dec form of 28.

Thankfully i was able to resolve the issue by using:
pack("C",28)

But thanks Jay for the help!


At 03:29 PM 11/12/2004, Jay Blanchard wrote:
[snip]
I am working on a Socket script that needs to send a binary 0x1C to
another
applicaiton that is connected to the socket.  Any way in PHP to do this
so
that I do not have to go and learn C++ over the weekend

Does anyone have a clue what needs to be done to make this work?
[/snip]

Are we to assume that you have RTFM http://www.php.net/sockets ?



----------

UMPA
  Brian C. Doyle
Director, Internet Services
United Merchant Processing Association
<http://www.umpa-us.com>http://www.umpa-us.com
1-800-555-9665 ext 212

Reply via email to