The Dictionary Server Protocol (DICT) is a TCP transaction based query/response protocol that allows a client to access dictionary definitions from a set of natural language dictionary databases.
DEFINEworddatabase-- look up word in databaseMATCHworddatabasestrategy-- match word in database using strategySHOWDB-- list all accessible databasesSHOWDATABASES-- list all accessible databasesSHOWSTRAT-- list available matching strategiesSHOWSTRATEGIES-- list available matching strategiesSHOWINFOdatabase-- provide information about the databaseSHOWSERVER-- provide site-specific informationOPTIONMIME-- use MIME headersCLIENTinfo-- identify client to serverAUTHuserstring-- provide authentication informationSTATUS-- display timing informationHELP-- display this help informationQUIT-- terminate connection下面是简化命令,在其他服务器可能不支持Dword-- DEFINE * wordDdatabaseword-- DEFINE database wordMword-- MATCH * . wordMstrategyword-- MATCH * strategy wordMdatabasestrategyword-- MATCH database strategy wordS-- STATUSH-- HELPQ-- QUIT