Sock::Sock

Move constructor, grab the socket from another object and close ours (if set).

Synopsis

Declared in <util/sock.h>

Sock(Sock&& other);

Parameters

NameDescription
otherThe socket wrapper to move the underlying socket from.