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

Edited Unassigned: Wrong parameters to SetSocketOption leads to SocketException under Mono [1799]

$
0
0
Hi There,

today i recognized that you guys seem to use an invalid parameter-combination to SetSocketOption in Channels/ChannelForwardedTcpip.NET40.cs.

The [MSDN-Documentation](http://msdn.microsoft.com/de-DE/library/e160993d.aspx) states, that only for _SocketOptionLevel.Tcp_ the _SocketOptionName.NoDelay_ is defined. In your code you try to set it for _SocketOptionLevel.Socket_.

This seems to be silently ignored by Windows. But yields an SocketException "Access Denied" under mono und prevents the forwarding from working.

I've already made a patch for this, which will be uploaded right after filing this issue. ;)

Beside that: Thanks for this awesome library!

Greetings,
Sven

Viewing all articles
Browse latest Browse all 1026

Trending Articles



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