摘要:
使用 Vert.x 开发非阻塞的TCP服务端非常方便,使用Vertx对象创建HTTPServer即可。 HTTPServer 通过Vertx对象创建HTTPServer,并监听指定的8080端口: public class HTTPStarter { public static void main( 阅读全文
posted @ 2022-02-06 16:09
HiIT青年
阅读(148)
评论(0)
推荐(0)
摘要:
使用 Vert.x 开发非阻塞的TCP服务端非常方便,使用Vertx对象创建NetServer即可。 TCPServer 通过Vertx对象创建NetServer,并监听指定的5566端口: public class TCPStarter { public static void main(Stri 阅读全文
posted @ 2022-02-06 16:01
HiIT青年
阅读(485)
评论(0)
推荐(0)

浙公网安备 33010602011771号