Skip to content

Commit

Permalink
🔥 Remove useless Stream plug + implement shutdown plug
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinbreiz committed Nov 8, 2023
1 parent 3a35ed9 commit f33a693
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 29 deletions.
16 changes: 16 additions & 0 deletions source/Cosmos.System2_Plugs/Interop/WinsockImpl.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using IL2CPU.API.Attribs;
using System;
using System.Net.Sockets;

namespace Cosmos.Core_Plugs.Interop
{
[Plug("Interop+Winsock, System.Net.Sockets", IsOptional = true)]
class WinsockImpl
{
[PlugMethod(Signature = "System_Net_Sockets_SocketError__Interop_Winsock_shutdown_System_Net_Sockets_SafeSocketHandle__System_Int32_")]
public static SocketError shutdown(SafeSocketHandle socketHandle, int how)
{
throw new NotImplementedException();
}
}
}
29 changes: 0 additions & 29 deletions source/Cosmos.System2_Plugs/System/IO/StreamImpl.cs

This file was deleted.

0 comments on commit f33a693

Please sign in to comment.