NWUDPSocketDelegate

public protocol NWUDPSocketDelegate: class

The delegate protocol of NWUDPSocket.

  • Socket did receive data from remote.

    Declaration

    Swift

    func didReceive(data: Data, from: NWUDPSocket)

    Parameters

    data

    The data.

    from

    The socket the data is read from.

  • Undocumented

    Declaration

    Swift

    public protocol NWUDPSocketDelegate: class