[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Windows libssh multithread server
[Thread Prev] | [Thread Next]
- Subject: Windows libssh multithread server
- From: Carmine <longo83@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 29 Aug 2013 17:03:38 +0200
- To: libssh@xxxxxxxxxx
Hi all,
I implemented an ssh server, but I have a problem:
the first incoming connection works fine, (putty console is opened
correctly), but from the second connection server doesn't wakeup from
ssh_accept().
the structure of the server is a class object (visual c++) for any incoming
connection.
I will create an instance of object for each conection that:
Listen()
sshbind = ssh_bind_new();
session = ssh_new();
if ( ssh_bind_listen(sshbind) < 0 )
....
WaitClient()
if ( ssh_bind_accept( sshbind, session ) == SSH_ERROR )
any suggestions?... thanks!
Archive administrator: postmaster@lists.cynapses.org