Class for retrieving protocol information.
These members are populated when one of the following functions are called successfully:
auto proto = new Protocol; writeln("About protocol TCP:"); if (proto.getProtocolByType(ProtocolType.TCP)) { writefln(" Name: %s", proto.name); foreach (string s; proto.aliases) writefln(" Alias: %s", s); } else writeln(" No information found");
See Implementation
Class for retrieving protocol information.