NetworkService.getProtocol

string getProtocol() nothrow

Gets srv's protocol name (eg, "tcp").

Returns

srv's protocol name