Classes

The following classes are available globally.

  • A class to represent a communications endpoint based on UDP sockets. IPv4/IPv6 are both supported. A UDPEndpoint enables a UDP server to be started by binding the underlying socket to a specified port and provides a method to be scheduled for checking for incoming packets. In client mode, a socket is created to target a remote address and port. Data packets can then be sent to the remote UDP endpoint by calling -sendData:.

    See more

    Declaration

    Objective-C

    @interface UDPEndpoint : NSObject

    Swift

    class UDPEndpoint : NSObject