query_mccp
ldmud-3.3.719/doc/efun/query_mccp · 604 B
From the archive ldmud-3.3.719.tar.gz
Download the archive « Back to the archive contents
OPTIONAL
SYNOPSIS
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
Added in LDMud 3.3.447, backported to LDMud 3.2.10.
SEE ALSO
end_mccp_compress(E), start_mccp_compress(E), query_mccp_stats(E),
mccp(C)