Page 1 of 1

Port forwarding form multiple clients in the same computer

Posted: Thu 28 Jul 2011 09:00
by GeluHUN
Hi!

Is there a way to retrieve the port number assigned to the ScSSHChannel-s listening address when Remote=False and SourcePort=0?

When SourcePort=0 the OS should assign a free port dinamicaly to the bind address (seemingly, this works as excepted). The getsocketname API could retrieve the assigned port number, but for that the socket handle is needed.

Please find me a soultion to retrive the port number, because I have to start multiple clients in the same computer, and can not hard code the port into the prgram. Or do you have any other suggestions?

Best regards,
Peter

Posted: Mon 01 Aug 2011 15:24
by Dimon
The investigation of the problem is in progress. As soon as we solve the problem we will let you know.

Posted: Mon 15 Aug 2011 13:57
by Dimon
We have investigated this problem. We will add this functionality in the next SecureBridge build.

Posted: Tue 16 Aug 2011 11:42
by GeluHUN
Thank you very much, I'm looking forward to it! :)