Network/AbstractSocket: Update OnStateChange signal

Now it is called before the state changes really


Former-commit-id: 3eec47302a971d798e1a75415377243bd743ce3f
This commit is contained in:
Lynix
2015-11-10 12:17:30 +01:00
parent 2a70758f08
commit 890e5c75d6
2 changed files with 2 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ namespace Nz
unsigned int QueryAvailableBytes() const;
// Slots
NazaraSignal(OnStateChange, const AbstractSocket* /*socket*/, SocketState /*oldState*/, SocketState /*newState*/);
NazaraSignal(OnStateChange, const AbstractSocket* /*socket*/, SocketState /*newState*/);
protected:
AbstractSocket(SocketType type);