Search Issue Tracker

By Design

Votes

1

Found in

2017.1.1p3

Issue ID

966658

Regression

No

[iOS] Using System.Net.Sockets.UdpClient.Receive() results in "SocketException: The descriptor is not a socket"

iOS

-

"SocketException: The descriptor is not a socket" appears when Using System.Net.Sockets.UdpClient.Receive() is used on iOS.

Steps to reproduce:
1) Open the attached project (966658-repro.zip).
2) Build and run on iOS.
3) Press the 'Connect' button.

An exception is logged in Xcode:
System.Net.Sockets.SocketException (0x80004005): The descriptor is not a socket.

This bug reproduces with IL2CPP, Mono2x, .NET 3.5, .NET 4.6.
This does not occur on Android devices.

Reproduced on:
2018.1.0b1, 2017.1.1p3, 2017.1.0a6

Devices:
iPhone 8 Plus iOS 11.2.1
iPhone 6S iOS 9.3.3

Comments (1)

  1. Harrishun

    Nov 12, 2021 04:26

    Is there more of an explanation here than "By Design"? This is causing crashes in our app...

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.