|
|

So when i bind the port in netty i do this:
The code that comes after this will not execute, maybe because it's waitingCode:bootstrap.....bind(port).channel().closeFuture().sync();
So how i make it bind the port then execute the rest, for example i want to print this after bind
Edit FIXEDCode:System.out.println("The server has been bound on port: " + port);
Code:ChannelFuture future = bootstrap...closeFuture(); // do some things future.sync();
| « 718 Matrix Server | Adding Teleports to buttons » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |