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

Synopsis

Declared in <util/sock.h>

virtual
Sock&
operator=(Sock&& other);

Return Value

Reference to this object.

Parameters

Name

Description

other

The socket wrapper to move the underlying socket from.

Created with MrDocs