Steinliiippp
Steinliiippp

Reputation: 371

Connect to netty with a client which does not use the netty framework

I use the netty framework to build a async nio server. Now i want to connect from an android app to this server. But im not able to use netty wit an android application, because there are to many functions which are not supportet by the android JVM. I there a way to connect to a netty server using SSL/TSL android socket?

Upvotes: 1

Views: 499

Answers (1)

Rogan Dawes
Rogan Dawes

Reputation: 350

There is certainly no reason why an arbitrary client should not be able to speak to a netty-based server, so long as both parties implement the same protocol.

e.g. OpenSSL s_client can talk to a netty-based SSL server.

So, implement your Android code following the myriad of SSL/TLS tutorials for blocking IO, if you find that easiest, and they should be able to talk to your server easily enough.

Upvotes: 1

Related Questions