Home All Groups Group Topic Archive Search About

vb .net opening a socket into secure unix

Author
13 Sep 2006 5:34 PM
Holly
I have been trying to open a socket into secure unix.  I have used the
following code and tried with every protocol available in .net but
cannot even get passed this line of code due to an incompatibility of
the address and the protocol.  Does anyone have any suggestions.

m_objClientSocket = New Socket(AddressFamily.Unix, SocketType.Stream,
ProtocolType.Unspecified)

Thanks
Holly

Author
13 Sep 2006 7:11 PM
Mike Lowery
"Holly" <hlk4***@yahoo.com> wrote in message
news:1158168860.562132.314950@b28g2000cwb.googlegroups.com...
>I have been trying to open a socket into secure unix.  I have used the
> following code and tried with every protocol available in .net but
> cannot even get passed this line of code due to an incompatibility of
> the address and the protocol.  Does anyone have any suggestions.
>
> m_objClientSocket = New Socket(AddressFamily.Unix, SocketType.Stream,
> ProtocolType.Unspecified)

My guess is that you need to use SSH and I don't believe .Net supports that
protocol (even though it's an open standard.)
Author
14 Sep 2006 1:54 AM
jscape
For secure SSH protocol for .NET you may wish to consider SSH Factory
for .NET

http://www.jscape.com/sshfactorydotnet/


Holly wrote:
Show quoteHide quote
> I have been trying to open a socket into secure unix.  I have used the
> following code and tried with every protocol available in .net but
> cannot even get passed this line of code due to an incompatibility of
> the address and the protocol.  Does anyone have any suggestions.
>
> m_objClientSocket = New Socket(AddressFamily.Unix, SocketType.Stream,
> ProtocolType.Unspecified)
>
> Thanks
> Holly