Azure / DotNetty

DotNetty project – a port of netty, event-driven asynchronous network application framework
Other
4.09k stars 977 forks source link

Dotnetty Client #104

Closed hoangtrongphuc closed 8 years ago

hoangtrongphuc commented 8 years ago

Is Dotnetty compatible with .NET 3.5 (unity use .Net 3.5) ? How to connect with server with other language ? (example : C++)

avatar29A commented 8 years ago

How to connect with server with other language ? (example : C++)

If your server uses TCP\IP, you should use TcpSocketChannel.

hoangtrongphuc commented 8 years ago

Thank @avatar29A, Is TcpSocketChannel library ? U can provide any source or implement of this ?

avatar29A commented 8 years ago

@hoangtrongphuc, No, it's part of DotNetty. You could see this example https://github.com/Azure/DotNetty/tree/dev/examples/Echo.Client, it's simple tcp\ip client. For work with your server, you should write your own custom ChannelHandlerAdapter (as here https://github.com/Azure/DotNetty/blob/dev/examples/Echo.Client/EchoClientHandler.cs).

hoangtrongphuc commented 8 years ago

Echo.Client use lib from Dotnetty :

using DotNetty.Buffers;
using DotNetty.Transport.Channels;

but I want to know How to connect with server in C++ or Nodejs (Client SDK for C++ or nodejs) ? I dont want rewrite Client lib to connect with Dotnetty.

PBeckerr commented 8 years ago

You can connect from any language/platform that support TCP.

nayato commented 8 years ago

@hoangtrongphuc we have no plans supporting .NET versions earlier than 4.5. You can try building DotNetty from source but even if that succeeds we cannot guarantee it will be maintained going forward.