modify TRG_ID_* to TRG_SERVER_ID and TRG_CLIENT_ID.