java netty as tcpServer,delphi TIdTCPClient as tcpClient -
i use java netty tcpserver , delphi tidtcpclient tcpclient.the tcpclient can connect , send message tcpserver tcpclinet can not receive message sendback tcpserver . here tcpserver code written java: public class nettyserver { public static void main(string[] args) throws interruptedexception { eventloopgroup bossgroup = new nioeventloopgroup(); eventloopgroup workergroup = new nioeventloopgroup(); try { serverbootstrap b = new serverbootstrap(); b.group(bossgroup, workergroup) .channel(nioserversocketchannel.class) .childhandler(new channelinitializer<socketchannel>() { @override public void initchannel(socketchannel ch) throws exception { ch.pipeline().addlast(new tcpserverhandler()); } }); channelfuture f = b.bind(8080).sync(); f.channel().closefuture().sync(); } {