mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +00:00
CSocket: Also call on_connected for local socket connections
This commit is contained in:
parent
14b2f90920
commit
e922db68d8
1 changed files with 2 additions and 0 deletions
|
@ -92,6 +92,8 @@ bool CSocket::connect(const CSocketAddress& address)
|
|||
}
|
||||
|
||||
m_connected = true;
|
||||
if (on_connected)
|
||||
on_connected();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue