Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

void PTelnetSocket::OnOutOfBand ( const void *  buf,
PINDEX  len 
) [virtual]

This is callback function called by the system whenever out of band data from the TCP/IP stream is received. A descendent class may interpret this data according to the semantics of the high level protocol.

The TELNET socket uses this for sychronisation.

Parameters:
buf  Data to be received as URGENT TCP data.
len  Number of bytes pointed to by buf.

Reimplemented from PTCPSocket.

Definition at line 923 of file telnet.cxx.

{
  PTelnetError << "out of band data received of length " << length << endl;
  synchronising++;
}


Generated by  Doxygen 1.6.0   Back to index