setProtocol

fun setProtocol(protocol: Protocol)

Internet protocol used.

Parameters

protocol

Could be Protocol.TCP or Protocol.UDP.