da_rinkes wrote:
But just to check. When one closes a forwarded port, is it normal that this takes seconds to complete?
bimbimone wrote:I think our issues are related but the exception I am getting is when I try to open the ports again, not when I try to close them. This is the exception you get when ports are still in use.I am facing the exact same problem, see issue: http://sshnet.codeplex.com/workitem/1867Actually no. You two are talking about different things.
You get a "Only one usage of each socket address (protocol/network address/port) is normally permitted", while e5490626 is talking
about his old forwarding is still used "successfully" and he doesn't get a Exception. At least he never mentioned an exception.
I'm quite sure there is no problem in this lib and the bug must be in your applications.I have made an effort in cleaning up but still i face this issue. I will take a look to see if other processes keep the port open (maybe on the listening side).
Make sure you clean up everything correctly.
But just to check. When one closes a forwarded port, is it normal that this takes seconds to complete?