BaseServer.sendTo

Sends packet to specified clients.

  1. void sendTo(R clients, ubyte[] data, ubyte channel)
  2. void sendTo(R clients, const(P) packet, ubyte channel)
    class BaseServer
    void
    sendTo
    (
    R
    P
    )
    (,
    auto ref const(P) packet
    ,
    ubyte channel = 0
    )
    if (
    (
    (
    isInputRange!R &&
    is(ElementType!R : SessionId)
    )
    ||
    )
    &&
    is(P == struct)
    )
  3. void sendTo(R clients, ENetPacket* packet, ubyte channel)

Meta