Caesar Chen
Caesar Chen
After investigating into dotnet/runtime#21547, there is a risk by using LingerState to wait for send/receive operation complete, before dispose the socket. Because the LingerTime value is arbitrarily set by us,...
In ClientWebSocketOptions.SetBuffer(), we have validations for parameters passed in. .Net Core has this implementation: https://github.com/dotnet/corefx/blob/master/src/System.Net.WebSockets.Client/src/System/Net/WebSockets/ClientWebSocketOptions.cs#L168 While .Net Framework's implementation is different: https://github.com/Microsoft/referencesource/blob/master/System/net/System/Net/WebSockets/WebSocketHelpers.cs#L471 Which causes failure for ClientWebSocketOptionsTests: https://github.com/dotnet/corefx/blob/master/src/System.Net.WebSockets.Client/tests/ClientWebSocketOptionsTests.cs#L37 Need to...
When ClientWebSocket tries to connect to a non websocket server, we will get a WebSocketException. But the error message is different in desktop. Which causes failure for this assert: https://github.com/dotnet/corefx/blob/master/src/System.Net.WebSockets.Client/tests/ConnectTest.cs#L32...
In .Net Core: The WebSocket is only supposed to transition to Closed when the connection is closed, e.g. as part of CloseAsync after a close frame has been both sent...
https://github.com/dotnet/corefx/blob/master/Documentation/building/windows-instructions.md Under Required Software -> For Visual Studio 2017, there is a very important component missing: we need to have .NET Core cross-platform development checked as well (Workloads -> Other...
The receiveTask will hang forever in UAP run: https://github.com/dotnet/corefx/blob/master/src/System.Net.Sockets/tests/FunctionalTests/SocketOptionNameTest.cs#L131, no matter what interface is set for MulticastOption.
System.Net.Sockets tests run fine in F5 ('uap') mode. But in ILC ('uap-aot') mode they are failing. It seems that the metadata the test needs to look up has been removed:...
System.Net.Sockets NullArgs_Throw() test runs fine in netcore/netfx/uap mode. But in ILC ('uap-aot') mode it is failing. It seems that the ParamName field has been optimized away: ```c# public void NullArgs_Throw(SocketImplementationType...
System.Net.Sockets.SendPacketsAsync tests run fine in F5 ('uap') & netcore & netfx mode. But in ILC ('uap-aot') mode they are failing. It seems that the array initialization throws ArgumentOutOfRangeException if size...
The description in dotnet/runtime#22277 is not correct. The test will hang if loopback interface is chosen. Since there is no problem using other interfaces for socket multicast, we move this...