Open dxdjgl opened 4 years ago
As far as I know, UDP is not supported.
Would it not make sense to add support for UDP because of NetMQ for example?
I think it makes sense. I'd previously posted the same request years ago.
However, UDP is a different thing. It might require some considerable amount of efforts to incorporate it into NetMQ. @somdoron might think so too.
@somdoron is this expected? Below code throws excetion.
static void Main(string[] args) { var s = AsyncSocket.Create(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); s.Bind(IPAddress.Parse("127.0.0.1"), 27000);
Unhandled Exception: System.Net.Sockets.SocketException: An invalid argument was supplied at AsyncIO.Windows.Socket.Connect(IPEndPoint endPoint) in D:\Repo\AsyncIO\Source\AsyncIO\Windows\Socket.cs:line 440 at AsyncIO.SocketExtensions.Connect(AsyncSocket socket, IPAddress ipAddress, Int32 port) in D:\Repo\AsyncIO\Source\AsyncIO\SocketExtensions.cs:line 19 at udptest.Program.Main(String[] args) in D:\Repo\dxdjglnetmqudp\src\udptest\Program.cs:line 22 Press any key to continue . . .