Skip to content

Commit 04977d0

Browse files
wjlafranceclaude
andcommitted
Upgrade Atlasd to net10.0, remove obsolete UseOnlyOverlappedIO
Socket.UseOnlyOverlappedIO was removed in .NET 5+. Overlapped I/O is the default behavior for async socket operations on modern .NET. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 62e5a87 commit 04977d0

3 files changed

Lines changed: 1 addition & 3 deletions

File tree

src/Atlasd/Atlasd.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<Description>Atlas is cross-platform software that emulates Classic Battle.net in a compatible model for Diablo, StarCraft, and WarCraft.</Description>
77
<Copyright>© 2020-2021 Carl Bennett &lt;carl@carlbennett.me&gt;</Copyright>
88
<Company>BNETDocs</Company>

src/Atlasd/Battlenet/Protocols/HTTP/HttpListener.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ public void Start() /* part of IListener */
6464
{
6565
ExclusiveAddressUse = true,
6666
NoDelay = Daemon.Common.TcpNoDelay,
67-
UseOnlyOverlappedIO = true,
6867
};
6968
Socket.Bind(LocalEndPoint);
7069
Socket.Listen(-1);

src/Atlasd/Battlenet/ServerSocket.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ public void SetLocalEndPoint(IPEndPoint localEndPoint)
8282
{
8383
ExclusiveAddressUse = true,
8484
NoDelay = Daemon.Common.TcpNoDelay,
85-
UseOnlyOverlappedIO = true,
8685
};
8786
}
8887

0 commit comments

Comments
 (0)