mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-20 15:09:42 +00:00
LibCore: Implement TCPServer on Windows
This commit is contained in:
parent
9d7971c111
commit
cc3cabc768
Notes:
github-actions[bot]
2025-08-07 02:26:27 +00:00
Author: https://github.com/ayeteadoe
Commit: cc3cabc768
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5435
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/R-Goc
5 changed files with 174 additions and 6 deletions
|
@ -1,6 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Andreas Kling <andreas@ladybird.org>
|
||||
* Copyright (c) 2024-2025, stasoid <stasoid@yahoo.com>
|
||||
* Copyright (c) 2025, ayeteadoe <ayeteadoe@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -166,7 +167,7 @@ static int notifier_type_to_network_event(NotificationType type)
|
|||
{
|
||||
switch (type) {
|
||||
case NotificationType::Read:
|
||||
return FD_READ | FD_CLOSE;
|
||||
return FD_READ | FD_CLOSE | FD_ACCEPT;
|
||||
case NotificationType::Write:
|
||||
return FD_WRITE;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue