An open source asynchronous event-driven network application framework written in Java. It is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients

learn more…| top users | synonyms (1)

0
votes
0answers
7 views

Tomcat 8.5 threading model

My application uses Web Sockets via JSR 356 implementation by Tomcat 8.5 (servlet 3.1). According to the JSR, it is supposed to use NIO but I am not sure to understand. When a client requests a Web ...
-2
votes
1answer
26 views

How to read strings in netty?

I have a question about byteBufs and the class ByteBufUtil.Is it possible to read UTF8 after I wrote it?I already searched in the internet but I haven't found an answer about this topic.
-1
votes
1answer
25 views

Difference between Netty's ByteBuf.copy() and ByteBuf.duplicate()

At first glance, they seem quite similar. My understanding is that copy() creates a copy of the underlying content whereas duplicate() does not. Is that accurate? In what situations would you use one ...
1
vote
2answers
55 views

Upload file via WebSocket (BinaryWebSocketFrame) and Netty

I'm trying to upload a file via websockets with the following code:let file=e.target.files[0]let ws=new WebSocket("ws://127.0.0.1:8080/")ws.binaryType="arraybuffer";var reader=new ...
3
votes
1answer
51 views

Does Netty violate the contract of Future.cancel(…) method?

According the contract from method java.util.concurrent.Future#cancel :After this method returns, subsequent calls to isDone will alwaysreturn true.Netty's Future interface extends it:...
2
votes
0answers
34 views

How to simulate WriteTimeout in netty?

I am writing a TCP protocol implementation in netty. I want to use a WriteTimeoutHandler to detect slow consumers of server messages. However Thread.sleep()-ing in consumer's channelRead() method does ...
1
vote
0answers
13 views

Netty Client not reading the Messages from server continuously. Need help in writing the server code that responds the client continuously

/*Netty Client not reading the Messages from server continuously. Need help in writing the server code that responds the client continuously.what I am doing is I have an API, which writes to multiple ...
0
votes
1answer
17 views

Building `netty-tcnative` for Android 4.x

I would like to use OpenSSL with Netty 4.1.17 on Android 4.x. The maven builds of netty-tcnative include only the x86_64 implementations. Is there documentation on how to build netty-tcnative for ...
0
votes
1answer
27 views

Netty SslHandler sends no close_notify

Our netty sever with SSLHandler does not respond to close_notify and FIN from peer. Requirement is netty SslHandler should send close_notify as per RFC here. We are using Netty-4.1.17 with ...
-1
votes
0answers
22 views

how to count open TCP connections from java application (not netstat) [duplicate]

I want to check count of TCP connections on a specific port from spring boot application for reporting and monitoring purpose. I tried to use Runtime.getRuntime().exec("NETSTAT -nt"), it gives me ...
2
votes
0answers
91 views

write() in netty not working. Huge delay before making it to handlers

Our pipeline uses an NIO worker group with 10 threads.Our pipeline is setup as follows:ch.pipeline().addLast(new IdleStateHandler(0, 0, 10, TimeUnit.Seconds)).addLast(sslHandler)...
0
votes
0answers
30 views

Netty packets and the bytebuffer framing?

So I have an existing software package that uses Netty to communicate over an encrypted port between a client and a server. Our issue started when we upgraded java from 1.8.073 to 1.8.161 and we saw ...
0
votes
0answers
17 views

Special characters (Serbian Language) recieved as Junk on client side from Netty Server

We have one TCP Client-Server application where Server is implemented using Netty 4.x and client is working with plain sockets. In one communication data flow Server is supposed to write and XML ...
0
votes
0answers
15 views

“handshake_failure” on some HTTPS urls

I have tried the snoop example, i.e. HttpSnoopClient, with some HTTPS example urls and I get "handshake_failure".For example with "https://www.topixstars.com/quiz/18926/qidx40" or "https://moviebay....
1
vote
2answers
40 views

Netty: Shoud i create new ChannelBuffer for sending data to every client?

I have a list of connected clients like SimpleChannelHandler:List<ChannelHandler> clients=new ArrayList<ChannelHandler>();I want to send them data like "Hello" string. Im creating a ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,