PHP Sockets to Telnet Server and Control Chars

djennett

New Member
So I am working on using PHP sockets to connect to a server that streams events... at the beginning of each event is the hex charector 01 (Ctrl+A) and at the end 03 (Ctrl+C). How do i take the text between these charectors and either dump it to an external file to be parsed by another program or have a user defined function inside the program process it.
 
Top