mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Remove IPv6 overloads on out parameters
This commit is contained in:
parent
3799c77a5b
commit
754d028968
1 changed files with 0 additions and 14 deletions
|
@ -604,13 +604,6 @@ namespace System.Net
|
|||
return AcceptFrom(listenSocket, &clientAddr, &clientAddrLen);
|
||||
}
|
||||
|
||||
public Result<void> AcceptFrom(Socket listenSocket, out SockAddr_in6 clientAddr)
|
||||
{
|
||||
clientAddr = default;
|
||||
int32 clientAddrLen = sizeof(SockAddr_in6);
|
||||
return AcceptFrom(listenSocket, &clientAddr, &clientAddrLen);
|
||||
}
|
||||
|
||||
public Result<void> AcceptFrom(Socket listenSocket) => AcceptFrom(listenSocket, null, null);
|
||||
|
||||
public static int32 Select(FDSet* readFDS, FDSet* writeFDS, FDSet* exceptFDS, int waitTimeMS)
|
||||
|
@ -720,13 +713,6 @@ namespace System.Net
|
|||
return RecvFrom(ptr, size, &from, ref fromLen);
|
||||
}
|
||||
|
||||
public Result<int> RecvFrom(void* ptr, int size, out SockAddr_in6 from)
|
||||
{
|
||||
from = default;
|
||||
int32 fromLen = sizeof(SockAddr_in6);
|
||||
return RecvFrom(ptr, size, &from, ref fromLen);
|
||||
}
|
||||
|
||||
public Result<int> Send(void* ptr, int size)
|
||||
{
|
||||
int32 result = send(mHandle, ptr, (int32)size, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue