brettwooldridge / NuProcess

Low-overhead, non-blocking I/O, external Process implementation for Java
Apache License 2.0
718 stars 84 forks source link

IO Network programming #96

Closed devzonetrack closed 5 years ago

devzonetrack commented 5 years ago

Iam new about NuProcess, is possible to create TCP Server nonblocking with NuProcess? any sample?

lfbayer commented 5 years ago

NuProcess is designed for executing and interacting with child processes. It won't help you with running a network server.

You might take a look at netty or Apache MINA

vietj commented 5 years ago

or Vert.x https://vertx.io/docs/vertx-core/java/#_writing_tcp_servers_and_clients :-)

vietj commented 5 years ago

Vert.x has an out of the box integration with Nuprocess as https://github.com/vietj/childprocess-vertx-ext