Te esta diciendo que lo que tu tienes en $this->_socket es incorrecto, prueba este codigo:
Código PHP:
function _connect($server = "messenger.hotmail.com")
{
$this->_socket = fsockopen($server, 1863, $errno, $errstr);
if( !$this->_socket ) {
die( "Error de conexión ($errno): $errstr" );
}
$this->_send_data("VER 0 MSNP8");
while (!feof($this->_socket)) {
$data = substr(fgets($this->_socket, 1024), 0, -2);
$this->_process_data($data);
}
}
Saludos.