Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Linux Container Support #71

Open
ivanhlb opened this issue Dec 30, 2020 · 0 comments
Open

Docker Linux Container Support #71

ivanhlb opened this issue Dec 30, 2020 · 0 comments

Comments

@ivanhlb
Copy link

ivanhlb commented Dec 30, 2020

When trying to run CoAPServer on a Linux Docker Container with a .Net Core 3.1 base image.

System.PlatformNotSupportedException: Socket.IOControl handles Windows-specific control codes and is not supported on this platform.

at System.Net.Sockets.SocketPal.WindowsIoctl(SafeSocketHandle handle, Int32 ioControlCode, Byte[] optionInValue, Byte[] optionOutValue, Int32& optionLength)

at System.Net.Sockets.Socket.IOControl(Int32 ioControlCode, Byte[] optionInValue, Byte[] optionOutValue)

at CoAP.Channel.UDPChannel.SetupUDPSocket(AddressFamily addressFamily, Int32 bufferSize)

at CoAP.Channel.UDPChannel.Start()

at CoAP.Net.CoAPEndPoint.Start()

at CoAP.Server.CoapServer.Start()

Perhaps it's similar in nature to this issue NetMQ has?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant