mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
LibCore: Implement TCPServer on Windows
This commit is contained in:
Notes:
github-actions[bot]
2025-08-07 02:26:27 +00:00
Author: https://github.com/ayeteadoe Commit: https://github.com/LadybirdBrowser/ladybird/commit/cc3cabc7689 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5435 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/R-Goc
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user