mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 09:58:14 +00:00
LibGUI: Make GSocket connection asynchronous.
Now connect() will return immediately. Later on, when the socket is actually connected, it will call GSocket::on_connected from the event loop. :^)
This commit is contained in:
parent
65d6318c33
commit
6d5a54690e
11 changed files with 65 additions and 29 deletions
|
@ -109,6 +109,8 @@ private:
|
|||
void handle(const Message&, const String& verbatim);
|
||||
void handle_user_command(const String&);
|
||||
|
||||
void on_socket_connected();
|
||||
|
||||
String m_hostname;
|
||||
int m_port { 6667 };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue