Fix some minor stuff
This commit is contained in:
@@ -22,7 +22,7 @@ namespace Nz
|
||||
AbstractSocket(AbstractSocket&& abstractSocket) noexcept;
|
||||
virtual ~AbstractSocket();
|
||||
|
||||
void Close();
|
||||
void Close() noexcept;
|
||||
|
||||
void EnableBlocking(bool blocking);
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace Nz
|
||||
void SetSendBufferSize(std::size_t size);
|
||||
|
||||
AbstractSocket& operator=(const AbstractSocket&) = delete;
|
||||
AbstractSocket& operator=(AbstractSocket&& abstractSocket);
|
||||
AbstractSocket& operator=(AbstractSocket&& abstractSocket) noexcept;
|
||||
|
||||
// Signals:
|
||||
NazaraSignal(OnStateChanged, const AbstractSocket* /*socket*/, SocketState /*oldState*/, SocketState /*newState*/);
|
||||
|
||||
@@ -46,6 +46,9 @@ namespace Nz
|
||||
bool SendMultiple(const IpAddress& to, const NetBuffer* buffers, std::size_t bufferCount, std::size_t* sent);
|
||||
bool SendPacket(const IpAddress& to, const NetPacket& packet);
|
||||
|
||||
UdpSocket& operator=(const UdpSocket& udpSocket) = delete;
|
||||
UdpSocket& operator=(UdpSocket && udpSocket) noexcept = default;
|
||||
|
||||
private:
|
||||
void OnClose() override;
|
||||
void OnOpened() override;
|
||||
|
||||
Reference in New Issue
Block a user