mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Default Socket.Listen() IP to 127.0.0.1
This commit is contained in:
parent
469a81afb9
commit
7d26c115bb
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ namespace System.Net
|
|||
SetBlocking(mIsBlocking);
|
||||
}
|
||||
|
||||
public Result<void> Listen(IPv4Address address, int32 port, int32 backlog = 5)
|
||||
public Result<void> Listen(int32 port, IPv4Address address = .(127, 0, 0, 1), int32 backlog = 5)
|
||||
{
|
||||
Debug.Assert(mHandle == INVALID_SOCKET);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue