[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Windows libssh multithread server
[Thread Prev] | [Thread Next]
[Date Prev] | [Date Next]
- Subject: Re: Windows libssh multithread server
- From: Aris Adamantiadis <aris@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Fri, 30 Aug 2013 12:58:31 +0200
- To: libssh@xxxxxxxxxx
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!
Windows libssh multithread server | Carmine <longo83@xxxxxxxxx> |