Trustin Lee wrote:
Could you try again with the following configuration code:

SocketAcceptorConfig cfg = ...;
cfg.getSessionConfig().setReuseAddress(true);


What about:
cfg.setReuseAddress(true);


Does the configuration of the SessionConfig overwrites the configuration
defined in SocketAcceptorConfig?
If you don't define a value for SessionConfig, is the value defined in
SocketAcceptorConfig the one that counts?

I imagine (may be I'm wrong) that the general behavior is defined in
SocketAcceptorConfig and then if you want an exceptional behavior for
one session you define it in SessionConfig. If it is not like that I
don't see the point in having a setReuseAddress() in both objects.

_________________________________________________________________
Find dine dokumenter lettere med MSN Toolbar med Windows-pc-søgning: http://toolbar.msn.dk

Reply via email to