Skip to content

Docker Linux Container Support #71

@ivanhlb

Description

@ivanhlb

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions