[wiki:WikiStart Orbit] > [wiki:Documentation/OTG OTG] > [wiki:Documentation/OTG/FuncSpec Function Specifications] > Class Port = Port = [source:otg/trunk/src/cpp/port.h#latest Port] is an abstract class for the interface to send (send only) a packet, whether UDP, TCP Socket, or IP raw socket. The common funcitons for a port are defiend here: * sendPacket Port is limited for sender-only purpose. Port is also associated with a pair of addresses (source and destination). One Port send to one [source:otg/trunk/src/cpp/address.h#latest Address] only, no matter the address is unicast or broadcast. [[Image(classPort.png)]]