View Single Post
Old 11-04-2003, 01:48 PM  
darkone
Disabled
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

My compiler says that there's a cookie %[limit()] which takes following stuff as arguments:

INT MessageObject_ConvertLimit(LPSTR szArg)
{
if (! stricmp("dn_speed", szArg)) return 0;
if (! stricmp("up_speed", szArg)) return 1;
if (! stricmp("ftp_logins", szArg)) return 2 + C_FTP;
if (! stricmp("telnet_logins", szArg)) return 2 + C_TELNET;
if (! stricmp("http_logins", szArg)) return 2 + C_HTTP;
return (ULONG)-1;
}

So %[limit(up_speed)] would give you upload speedlimit in kilobytes
darkone is offline   Reply With Quote