Port forwarding form multiple clients in the same computer

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
GeluHUN
Posts: 7
Joined: Thu 28 Jul 2011 07:46
Location: Budapest, Hungary

Port forwarding form multiple clients in the same computer

Post by GeluHUN » Thu 28 Jul 2011 09:00

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

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 01 Aug 2011 15:24

The investigation of the problem is in progress. As soon as we solve the problem we will let you know.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 15 Aug 2011 13:57

We have investigated this problem. We will add this functionality in the next SecureBridge build.

GeluHUN
Posts: 7
Joined: Thu 28 Jul 2011 07:46
Location: Budapest, Hungary

Post by GeluHUN » Tue 16 Aug 2011 11:42

Thank you very much, I'm looking forward to it! :)

Post Reply