Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Commented Issue: Port Forwarding [1540]

$
0
0
" public ForwardedPortLocal(uint boundPort, string host, uint port)
: this(string.Empty, boundPort, host, port)
{
}
"

Would it be better if you would do the following instead of above

public ForwardedPortlocal(string RHost, uint RPort)
{
ForwaredPortLocal(Port, RHost", RPort);
}

public ForwardedPortLocal(uint boundPort, string host, uint port)
{
ForwardedPortLocal("127.0.0.1", BoundPort, string host, uint Port);
}


The way you have it above producer Errors
Comments: ** Comment from web user: olegkap **

What error do you get?
Also,
The code you provided as an example is not valid C# code and does not compile.

You cannot call constructor from another constructor.

I will close this issue since this is not a bug.

Thanks,
Oleg


Viewing all articles
Browse latest Browse all 1026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>