Changeset 385
- Timestamp:
- Aug 4, 2022, 12:56:59 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/SpaceWizards.HttpListener/src/System/Net/Managed/HttpEndPointListener.cs
r377 r385 67 67 _endpoint = new IPEndPoint(addr, port); 68 68 _socket = new Socket(addr.AddressFamily, SocketType.Stream, ProtocolType.Tcp); 69 70 if (addr.AddressFamily == AddressFamily.InterNetworkV6) { 71 // Make sure that all platforms behave the same for IPv6 sockets (at least Linux by 72 // default has them in dual mode, so it would conflict with the explicit IPv4 socket) 73 _socket.DualMode = false; 74 } 75 69 76 _socket.Bind(_endpoint); 70 77 _socket.Listen(500);
Note:
See TracChangeset
for help on using the changeset viewer.