NetworkService.getProtocol

string getProtocol()

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

Returns

srv's protocol name