[Spread-users] java interface

Cédric Coulon cedric.coulon at lina.univ-nantes.fr
Mon Nov 22 07:09:05 EST 2004


Hi,

If you add this peace of code in the connect function, you can increase 
the java interface performance.

                 // Set the socket's TcpNoDelay.
                 ///////////////////////////////
                 try {
                   socket.setTcpNoDelay(true);
                 } catch (SocketException e) {
                     System.out.println("failed setTcpNoDelay(true): " + 
e.toString() );
                     System.exit(1);
                 }

Cédric.

-- 
Cédric Coulon                       cedric.coulon at lina.univ-nantes.fr
Atlas group, INRIA
LINA - Université de Nantes               voice: +33 (0)2 51 12 59 63
2, Rue de la Houssinière BP 92208         fax  : +33 (0)2 51 12 58 97
44322 Nantes Cedex 03 France




More information about the Spread-users mailing list