Skip to content

Can't setup RawSocket in .net core runtime. #285

@jandykwan

Description

@jandykwan

Describe the bug
A clear and concise description of what the bug is.
Can't setup RawSocket in .net core 2.2 while the same code in .net 4.7.2 is OK.
To Reproduce
Add a complete standalone code that reproduces the issue. Preferably upload it as a Gist to [GitHub Gist]
var host = new WampHost();
var transport = new RawSocketTransport(System.Net.Sockets.TcpListener.Create(9898));
host.RegisterTransport(transport, new JTokenMsgpackBinding());
Additionally, what steps should be done in order to reproduce the issue.

For example:

  1. Run host
  2. Run client, client can't receive any message back.
  3. I use the tcp tool to debug. the client has sent the right the packet, but server no response.

Vague bug reports with poorly formatted code snippets and/or non-standalone code snippets, will be automatically closed!

.NET platform variant
Specify your .NET platform variant. This includes your operating system version.
.NET Core 2.2 on Windows 10

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions