Hi,

Are you sure you only listen once and then accept all the clients from
the same ssh_bind ?
On most OS it is not possible to bind twice the same port number, so you
should either close the ssh_bind after accepting a client, or (better)
loop around the ssh_accept() and give the new client handles to an other
thread.

Aris

Le 30/08/13 12:11, Carmine a écrit :
> Problem seems multiple connections on the same port (22)...
> If I try to connect with two clients at the same IP address with 2
> different 
> ports, it works fine!
> 
> Suggestions?!
> Thanks!

Reply via email to