Re: Evaluation download - VC example doesn' - WeOnlyDo Discussion board

Re: Evaluation download - VC example doesn' (General questions)

by Roy, Friday, May 04, 2007, 02:53 (6195 days ago) @ wodSupport

It works, thanks.
I'm going to do some load test on your SSHD server, is your sample application a good test? Or I have to do some tune up?

Roy

Roy,

problem with that sample is that it sends 'Welcome' text over SSH layer - same layer where SFTP sends its packet, and it violates SFTP protocol because of it..

To keep explanation clear, empty out ServiceRequest function and ServiceStart functions in the sample code, and all will work ok.[code]void CwodSSHDComEvents::ServiceRequest(LPDISPATCH User, long Channel, long* ServiceType, BSTR* ServicePath, long* Action)
{
}

void CwodSSHDComEvents::ServiceStart(LPDISPATCH User, long Channel, long ServiceType, LPCTSTR ServiceName)
{
}[/code]
Hope this helps.

Kreso


Complete thread: