getPacketPort

    Returns the port of the remote peer that sent the last packet(that was received with getPacket or getVar(allowObjects:)).

    PacketPeerUDP.swift:213
    final func getPacketPort() -> Int32

    Other members in extension

    Type members

    Instance members