Archived

This forum has been archived. Please start a new discussion on GitHub.

How Could I make the ICE1.3 to support JVM1.3?

Hi,all,

I have a problem about nio and socket. ICE1.3 support JVM1.4 and can not
run in the JVM1.3 environment. I find the difference between the two version JVM is minimal. If I change the code in TcpTranceiver.java to support nio, it works in JVM1.3. So I import a jar including "port.java.nio.channels" (the original "java.nio.channels")and change some code to socket connection. Now it works. but I find that if the tcp socket link has been stoped by Server crashing or other network failure, the client can not connect
server automatically after server restarted. I know that the ICE client can reconnect to server in JVM1.4 environment. why cannot do it in JVM1.3? Can anybody tell me the difference between nio and socket transformation in JVM1.4 and 1.3? Please give me some suggestions. Thanks!


Regards,

Chao Sun