SYNOPSIS (OPTIONAL)

int query_mccp()
int query_mccp( object player)

DESCRIPTION

This efun returns current whether the client uses compression or not ( default this_player() ).

You will get either TELOPT_COMPRESS or TELOPT_COMPRESS2 if the connection is compressed, or 0 if it isn’t.

Available only if the driver is compiled with MCCP enabled; __MCCP__ is defined in that case.

HISTORY

  • introduced (3.3.447)
  • backported (3.2.10)