Code example for Socket

Methods: getTrafficClass, setTrafficClass