#22205 [NEW]: some strange chars when using sockets
From: marrtins@hackers.lv
Operating system: w2k
PHP version: 4.3.0
PHP Bug Type: *General Issues
Bug description: some strange chars when using sockets
sometimes i'm getting strange symbols in recieved stream when using $data
.= fgets($socket, $buff_len) or the same with
while($peace = @socket_read($socket, $buff_len, PHP_BINARY_READ))
$data .= $peace;
somewhere in the stream i get string "\r\n1ffc\r\n" why? there is no such
string in resource. and not always the stream contains these chars.
--
Edit bug report at http://bugs.php.net/?id=22205&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22205&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22205&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22205&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22205&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22205&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22205&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22205&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22205&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22205&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22205&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22205&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22205&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22205&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22205&r=gnused
Thread (4 messages)
- marrtins at hackers dot lv