directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Torrisi <>
Subject [MINA] Socket and Session Buffer Size
Date Thu, 29 Dec 2005 01:14:03 GMT
Hi ! In this code snippet I set some parameters for the socket of the 
client and for session, I'm trying some values...but can someone explain 
me first the difference between a "SessionReceiveBufferSize" and a 
and then what are the best values according to you for connections based 
on a P2P network based on Ethernet ? Could these parameters affect 
performances ?

    public void sessionCreated(IoSession session) throws Exception {

        if (session instanceof SocketSession) {
            SocketSession sock = (SocketSession) session;


Thanks in advance,

View raw message