// From Listen Socket script while ( !feof($socket) ) { $new_connection = @stream_socket_accept($socket); if(strlen($new_connection) > 0) { fputs($new_connection, "I see you."); poutput($ircfp, "LS Activity ".strlen($new_connection)); $read = fread($new_connection, 1024); poutput($ircfp, "LS->D: ".$read.".... (".strlen($read).")\r\n");// Aside from that it's a lot of parsing, the client is fwriting the data. $socket is my stream_socket_server, $read is the var I'd like to read to