$dccctl(LOCKED)
Return all dcc refnums that are locked (currently being used)

$dccctl(HELD)
Return all dcc refnums that are being held (temporarily turned off)

$dccctl(UNHELD)
Return all dcc refnums that are not being held (active)

$dccctl(WRITABLES)
Return all dcc refnums that could be written to without blocking.

$dccctl(READABLES)
Return all dcc refnums that could be readded from without blocking.

$dccctl(WANT_PORT [number])
Use [number] as the default value for -p when time dcc_send or dcc_chat is used without the -p flag. The default value is 0 (ask the OS to give us any port). This is mutually exclusive with the DEFAULT_PORT value.

$dccctl(DEFAULT_PORT [string])
Expand [string] each time dcc_send or dcc_chat is used without the -p flag to get the default value for -p. The default is “0” (ask the OS to give us any port)

$dccctl(GET <refnum> <item>)

$dccctl(SET <refnum> <item> <value>)
Retrieve or change an attribute of a DCC. <Refnum> is a value you should have gotten from the REFNUM or REFNUMS operation.

History:

The $dccctl() function first appeared in EPIC4-1.1.11.
HELD, HOLDTIME, and FLAGS first appeared in EPIC4-1.1.12.
OFFERADDR first appeared in EPIC4-1.1.13.
QUOTED first appeared in EPIC4-1.1.14.
WRITABLE and WRITABLES first appeared in EPIC4-1.2.7
WANT_PORT and DEFAULT_PORT first appeared in EPIC5-0.3.4