Function Socket.sendObj

send an entire object over a connected socket

void sendObj(T) (
  auto ref const(T) data,
  int flags = 0,
  Timeout timeout = Timeout.infinite
) @nogc @trusted;

void sendObj(T) (
  auto ref const(T) data,
  Timeout timeout
) @nogc @safe;