Problem with simple echo server

2017-05-14 Thread Juan Carlos Sanchez
Hi libssh version 0.7.5 (VS2015 x64) I have tried to create a simple echo server, this is my SSH channel data callback: static int data_function(ssh_session session, ssh_channel channel, void *data, uint32_t len, int is_stderr, void *userdata) { //write to client ssh_channel_write(channe

Re: Problem with simple echo server

2017-05-18 Thread Andreas Schneider
On Monday, 15 May 2017 01:27:07 CEST Juan Carlos Sanchez wrote: > Hi > > libssh version 0.7.5 (VS2015 x64) > > I have tried to create a simple echo server, > > this is my SSH channel data callback: > > static int data_function(ssh_session session, ssh_channel channel, void > *data, uint32_t len