2008-01-28 (월), 10:47 -0400, Brenno Hayden 쓰시길: > Hello , > i have same doubt.. > - How can I tell if the connection is udp or tcp?
In 1.x, you can use IoSession.getTransportType(). In 2.x, you can simply use 'instanceof SocketSession' or 'instanceof DatagramSession'. -- what we call human nature is actually human habit -- http://gleamynode.net/
signature.asc
Description: This is a digitally signed message part
