mentalis.org proxysocket documentation filepublic static (shared) methods socks5tostring converts a...
TRANSCRIPT
Mentalis.orgProxySocketDocumentation
Theexceptionthatisthrownwhenaproxyerroroccurs.
Foralistofallmembersofthistype,seeProxyExceptionMembers.
System.ObjectExceptionProxyException
[VisualBasic]
PublicClassProxyException
InheritsException
ImplementsISerializable
[C#]
publicclassProxyException:Exception,ISerializable
RequirementsNamespace:Org.Mentalis.Network.ProxySocketNamespaceAssembly:Org.Mentalis.Network.ProxySocket.dll
SeeAlsoProxyExceptionMembers|Org.Mentalis.Network.ProxySocketNamespace
Copyright©2002,TheKPD-Team
ProxyExceptionClass
Mentalis.orgProxySocketDocumentation
PublicStatic(Shared)MethodsSocks5ToString ConvertsaSOCKS5error
numbertoahumanreadablestring.
PublicInstanceConstructorsProxyException Overloaded.Initializeanew
instanceoftheProxyExceptionclass.
PublicInstancePropertiesHelpLink(inheritedfromSystem.Exception)
SelectthemethodnametogototheMicrosoftdocumentation.
InnerException(inheritedfromSystem.Exception)
SelectthemethodnametogototheMicrosoftdocumentation.
Message(inheritedfromSystem.Exception)
SelectthemethodnametogototheMicrosoftdocumentation.
Source(inheritedfromSystem.Exception)
SelectthemethodnametogototheMicrosoftdocumentation.
StackTrace(inheritedfromSystem.Exception)
SelectthemethodnametogototheMicrosoftdocumentation.
TargetSite(inheritedfromSystem.Exception)
SelectthemethodnametogototheMicrosoftdocumentation.
PublicInstanceMethodsEquals(inheritedfromObject) Selectthemethodnametogoto
theMicrosoftdocumentation.
GetBaseException(inheritedfromException)
SelectthemethodnametogototheMicrosoftdocumentation.
GetHashCode(inheritedfrom Selectthemethodnametogoto
ProxyExceptionMembers
Object) theMicrosoftdocumentation.
GetObjectData(inheritedfromException)
SelectthemethodnametogototheMicrosoftdocumentation.
GetType(inheritedfromObject) SelectthemethodnametogototheMicrosoftdocumentation.
ToString(inheritedfromException)
SelectthemethodnametogototheMicrosoftdocumentation.
ProtectedInstancePropertiesHResult(inheritedfromSystem.Exception)
SelectthemethodnametogototheMicrosoftdocumentation.
ProtectedInstanceMethodsFinalize(inheritedfromObject) Selectthemethodnametogoto
theMicrosoftdocumentation.
MemberwiseClone(inheritedfromObject)
SelectthemethodnametogototheMicrosoftdocumentation.
SeeAlsoProxyExceptionClass|Org.Mentalis.Network.ProxySocketNamespace
Copyright©2002,TheKPD-Team
Mentalis.orgProxySocketDocumentation
InitializesanewinstanceoftheProxyExceptionclass.
OverloadListInitializesanewinstanceoftheProxyExceptionclass.
publicProxyException();
InitializesanewinstanceoftheProxyExceptionclass.
publicProxyException(string);
InitializesanewinstanceoftheProxyExceptionclass.
publicProxyException(int);
SeeAlsoProxyExceptionClass|ProxyExceptionMembers|Org.Mentalis.Network.ProxySocketNamespace
Copyright©2002,TheKPD-Team
ProxyException
Mentalis.orgProxySocketDocumentation
InitializesanewinstanceoftheProxyExceptionclass.
[VisualBasic]OverloadsPublicSubNew()
[C#]
publicProxyException();
SeeAlsoProxyExceptionClass|ProxyExceptionMembers|Org.Mentalis.Network.ProxySocketNamespace|ProxyExceptionConstructorOverloadList
Copyright©2002,TheKPD-Team
ProxyExceptionConstructor()
Mentalis.orgProxySocketDocumentation
InitializesanewinstanceoftheProxyExceptionclass.
[VisualBasic]OverloadsPublicSubNew(_
ByValmessageAsString_
)
[C#]
publicProxyException(
stringmessage
);
Parametersmessage
Themessagethatdescribestheerror.
SeeAlsoProxyExceptionClass|ProxyExceptionMembers|Org.Mentalis.Network.ProxySocketNamespace|ProxyExceptionConstructorOverloadList
Copyright©2002,TheKPD-Team
ProxyExceptionConstructor(String)
Mentalis.orgProxySocketDocumentation
InitializesanewinstanceoftheProxyExceptionclass.
[VisualBasic]OverloadsPublicSubNew(_
ByValsocks5ErrorAsInteger_
)
[C#]
publicProxyException(
intsocks5Error
);
Parameterssocks5Error
TheerrornumberreturnedbyaSOCKS5server.
SeeAlsoProxyExceptionClass|ProxyExceptionMembers|Org.Mentalis.Network.ProxySocketNamespace|ProxyExceptionConstructorOverloadList
Copyright©2002,TheKPD-Team
ProxyExceptionConstructor(Int32)
Mentalis.orgProxySocketDocumentation
ThemethodsoftheProxyExceptionclassarelistedbelow.ForacompletelistofProxyExceptionclassmembers,seetheProxyExceptionMemberstopic.
PublicStatic(Shared)MethodsSocks5ToString ConvertsaSOCKS5error
numbertoahumanreadablestring.
PublicInstanceMethodsEquals(inheritedfromObject) Selectthemethodnametogoto
theMicrosoftdocumentation.
GetBaseException(inheritedfromException)
SelectthemethodnametogototheMicrosoftdocumentation.
GetHashCode(inheritedfromObject)
SelectthemethodnametogototheMicrosoftdocumentation.
GetObjectData(inheritedfromException)
SelectthemethodnametogototheMicrosoftdocumentation.
GetType(inheritedfromObject) SelectthemethodnametogototheMicrosoftdocumentation.
ToString(inheritedfromException)
SelectthemethodnametogototheMicrosoftdocumentation.
ProtectedInstanceMethodsFinalize(inheritedfromObject) Selectthemethodnametogoto
theMicrosoftdocumentation.
MemberwiseClone(inheritedfromObject)
SelectthemethodnametogototheMicrosoftdocumentation.
SeeAlsoProxyExceptionClass|Org.Mentalis.Network.ProxySocket
ProxyExceptionMethods
Namespace
Copyright©2002,TheKPD-Team
Mentalis.orgProxySocketDocumentation
ConvertsaSOCKS5errornumbertoahumanreadablestring.
[VisualBasic]PublicSharedFunctionSocks5ToString(_
ByValsocks5ErrorAsInteger_
)AsString
[C#]
publicstaticstringSocks5ToString(
intsocks5Error
);
Parameterssocks5Error
TheerrornumberreturnedbyaSOCKS5server.
ReturnValueAstringrepresentationofthespecifiedSOCKS5errornumber.
SeeAlsoProxyExceptionClass|ProxyExceptionMembers|Org.Mentalis.Network.ProxySocketNamespace
Copyright©2002,TheKPD-Team
ProxyException.Socks5ToStringMethod
Mentalis.orgProxySocketDocumentation
ImplementsaSocketclassthatcanconnecttroughaSOCKSproxyserver.
Foralistofallmembersofthistype,seeProxySocketMembers.
System.ObjectSocketProxySocket
[VisualBasic]
PublicClassProxySocket
InheritsSocket
ImplementsIDisposable
[C#]
publicclassProxySocket:Socket,IDisposable
RemarksThisclassimplementsSOCKS4[A]andSOCKS5.Itdoesnot,however,implementtheBINDcommands,soyoucannot.
RequirementsNamespace:Org.Mentalis.Network.ProxySocketNamespaceAssembly:Org.Mentalis.Network.ProxySocket.dll
SeeAlsoProxySocketMembers|Org.Mentalis.Network.ProxySocketNamespace
Copyright©2002,TheKPD-Team
ProxySocketClass
Mentalis.orgProxySocketDocumentation
PublicInstanceConstructorsProxySocket Overloaded.Initializeanew
instanceoftheProxySocketclass.
PublicInstancePropertiesAddressFamily(inheritedfromSystem.Net.Sockets.Socket)
SelectthemethodnametogototheMicrosoftdocumentation.
Available(inheritedfromSystem.Net.Sockets.Socket)
SelectthemethodnametogototheMicrosoftdocumentation.
Blocking(inheritedfromSystem.Net.Sockets.Socket)
SelectthemethodnametogototheMicrosoftdocumentation.
Connected(inheritedfromSystem.Net.Sockets.Socket)
SelectthemethodnametogototheMicrosoftdocumentation.
Handle(inheritedfromSystem.Net.Sockets.Socket)
SelectthemethodnametogototheMicrosoftdocumentation.
LocalEndPoint(inheritedfromSystem.Net.Sockets.Socket)
SelectthemethodnametogototheMicrosoftdocumentation.
ProtocolType(inheritedfromSystem.Net.Sockets.Socket)
SelectthemethodnametogototheMicrosoftdocumentation.
ProxyEndPoint GetsorsetstheEndPointoftheproxyserver.
ProxyPass Getsorsetsthepasswordtousewhenauthenticatingwiththeproxy.
ProxyType Getsorsetsthetypeofproxyservertouse.
ProxyUser Getsorsetstheusernametousewhenauthenticatingwiththeproxy.
ProxySocketMembers
RemoteEndPoint(inheritedfromSystem.Net.Sockets.Socket)
SelectthemethodnametogototheMicrosoftdocumentation.
SocketType(inheritedfromSystem.Net.Sockets.Socket)
SelectthemethodnametogototheMicrosoftdocumentation.
PublicInstanceMethodsAccept(inheritedfromSocket) Selectthemethodnametogoto
theMicrosoftdocumentation.
BeginAccept(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
BeginConnect Overloaded.Beginsanasynchronousrequestforaconnectiontoanetworkdevice.
BeginConnect(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
BeginReceive(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
BeginReceiveFrom(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
BeginSend(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
BeginSendTo(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
Bind(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Close(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Connect Overloaded.Establishesaconnectiontoaremotedevice.
Connect(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
EndAccept(inheritedfrom Selectthemethodnametogoto
Socket) theMicrosoftdocumentation.
EndConnect Overloaded.Endsapendingasynchronousconnectionrequest.
EndConnect(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
EndReceive(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
EndReceiveFrom(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
EndSend(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
EndSendTo(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
Equals(inheritedfromObject) SelectthemethodnametogototheMicrosoftdocumentation.
GetHashCode(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
GetSocketOption(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
GetSocketOption(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
GetSocketOption(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
GetType(inheritedfromObject) SelectthemethodnametogototheMicrosoftdocumentation.
IOControl(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
Listen(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Poll(inheritedfromSocket) Selectthemethodnametogoto
theMicrosoftdocumentation.
Receive(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Receive(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Receive(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Receive(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
ReceiveFrom(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
ReceiveFrom(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
ReceiveFrom(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
ReceiveFrom(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
Send(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Send(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Send(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Send(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
SendTo(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
SendTo(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
SendTo(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
SendTo(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
SetSocketOption(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
SetSocketOption(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
SetSocketOption(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
Shutdown(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
ToString(inheritedfromObject) SelectthemethodnametogototheMicrosoftdocumentation.
ProtectedInstanceMethodsDispose(inheritedfromSocket) Selectthemethodnametogoto
theMicrosoftdocumentation.
Finalize(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
MemberwiseClone(inheritedfromObject)
SelectthemethodnametogototheMicrosoftdocumentation.
ExplicitInterfaceImplementationsIDisposable.Dispose(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
SeeAlsoProxySocketClass|Org.Mentalis.Network.ProxySocketNamespace
Copyright©2002,TheKPD-Team
Mentalis.orgProxySocketDocumentation
InitializesanewinstanceoftheProxySocketclass.
OverloadListInitializesanewinstanceoftheProxySocketclass.
publicProxySocket(AddressFamily,SocketType,ProtocolType);
InitializesanewinstanceoftheProxySocketclass.
publicProxySocket(AddressFamily,SocketType,ProtocolType,string);
InitializesanewinstanceoftheProxySocketclass.
publicProxySocket(AddressFamily,SocketType,ProtocolType,string,string);
SeeAlsoProxySocketClass|ProxySocketMembers|Org.Mentalis.Network.ProxySocketNamespace
Copyright©2002,TheKPD-Team
ProxySocket
Mentalis.orgProxySocketDocumentation
InitializesanewinstanceoftheProxySocketclass.
[VisualBasic]OverloadsPublicSubNew(_
ByValaddressFamilyAsSystem.Net.Sockets.AddressFamily
ByValsocketTypeAsSystem.Net.Sockets.SocketType
ByValprotocolTypeAsSystem.Net.Sockets.ProtocolType
)
[C#]
publicProxySocket(
AddressFamilyaddressFamily,
SocketTypesocketType,
ProtocolTypeprotocolType
);
ParametersaddressFamily
OneoftheAddressFamilyvalues.
socketTypeOneoftheSocketTypevalues.
protocolTypeOneoftheProtocolTypevalues.
ExceptionsExceptionType ConditionSystem.Net.Sockets.SocketException Thecombinationof
addressFamily,socketType,andprotocolTyperesultsinaninvalidsocket.
SeeAlsoProxySocketClass|ProxySocketMembers|
ProxySocketConstructor(AddressFamily,SocketType,ProtocolType)
Org.Mentalis.Network.ProxySocketNamespace|ProxySocketConstructorOverloadList
Copyright©2002,TheKPD-Team
Mentalis.orgProxySocketDocumentation
InitializesanewinstanceoftheProxySocketclass.
[VisualBasic]OverloadsPublicSubNew(_
ByValaddressFamilyAsSystem.Net.Sockets.AddressFamily
ByValsocketTypeAsSystem.Net.Sockets.SocketType
ByValprotocolTypeAsSystem.Net.Sockets.ProtocolType
ByValproxyUsernameAsString_
)
[C#]
publicProxySocket(
AddressFamilyaddressFamily,
SocketTypesocketType,
ProtocolTypeprotocolType,
stringproxyUsername
);
ParametersaddressFamily
OneoftheAddressFamilyvalues.
socketTypeOneoftheSocketTypevalues.
protocolTypeOneoftheProtocolTypevalues.
proxyUsernameTheusernametousewhenauthenticatingwiththeproxyserver.
ExceptionsExceptionType ConditionSystem.Net.Sockets.SocketException Thecombinationof
addressFamily,socketType,andprotocolTyperesultsin
ProxySocketConstructor(AddressFamily,SocketType,ProtocolType,String)
aninvalidsocket.
System.ArgumentNullException proxyUsernameisnull.
SeeAlsoProxySocketClass|ProxySocketMembers|Org.Mentalis.Network.ProxySocketNamespace|ProxySocketConstructorOverloadList
Copyright©2002,TheKPD-Team
Mentalis.orgProxySocketDocumentation
InitializesanewinstanceoftheProxySocketclass.
[VisualBasic]OverloadsPublicSubNew(_
ByValaddressFamilyAsSystem.Net.Sockets.AddressFamily
ByValsocketTypeAsSystem.Net.Sockets.SocketType
ByValprotocolTypeAsSystem.Net.Sockets.ProtocolType
ByValproxyUsernameAsString,_
ByValproxyPasswordAsString_
)
[C#]
publicProxySocket(
AddressFamilyaddressFamily,
SocketTypesocketType,
ProtocolTypeprotocolType,
stringproxyUsername,
stringproxyPassword
);
ParametersaddressFamily
OneoftheAddressFamilyvalues.
socketTypeOneoftheSocketTypevalues.
protocolTypeOneoftheProtocolTypevalues.
proxyUsernameTheusernametousewhenauthenticatingwiththeproxyserver.
proxyPasswordThepasswordtousewhenauthenticatingwiththeproxyserver.
Exceptions
ProxySocketConstructor(AddressFamily,SocketType,ProtocolType,String,String)
ExceptionType ConditionSystem.Net.Sockets.SocketException Thecombinationof
addressFamily,socketType,andprotocolTyperesultsinaninvalidsocket.
System.ArgumentNullException proxyUsername-or-proxyPasswordisnull.
SeeAlsoProxySocketClass|ProxySocketMembers|Org.Mentalis.Network.ProxySocketNamespace|ProxySocketConstructorOverloadList
Copyright©2002,TheKPD-Team
Mentalis.orgProxySocketDocumentation
ThepropertiesoftheProxySocketclassarelistedbelow.ForacompletelistofProxySocketclassmembers,seetheProxySocketMemberstopic.
PublicInstancePropertiesAddressFamily(inheritedfromSystem.Net.Sockets.Socket)
SelectthemethodnametogototheMicrosoftdocumentation.
Available(inheritedfromSystem.Net.Sockets.Socket)
SelectthemethodnametogototheMicrosoftdocumentation.
Blocking(inheritedfromSystem.Net.Sockets.Socket)
SelectthemethodnametogototheMicrosoftdocumentation.
Connected(inheritedfromSystem.Net.Sockets.Socket)
SelectthemethodnametogototheMicrosoftdocumentation.
Handle(inheritedfromSystem.Net.Sockets.Socket)
SelectthemethodnametogototheMicrosoftdocumentation.
LocalEndPoint(inheritedfromSystem.Net.Sockets.Socket)
SelectthemethodnametogototheMicrosoftdocumentation.
ProtocolType(inheritedfromSystem.Net.Sockets.Socket)
SelectthemethodnametogototheMicrosoftdocumentation.
ProxyEndPoint GetsorsetstheEndPointoftheproxyserver.
ProxyPass Getsorsetsthepasswordtousewhenauthenticatingwiththeproxy.
ProxyType Getsorsetsthetypeofproxyservertouse.
ProxyUser Getsorsetstheusernametousewhenauthenticatingwiththeproxy.
RemoteEndPoint(inheritedfromSystem.Net.Sockets.Socket)
SelectthemethodnametogototheMicrosoftdocumentation.
ProxySocketProperties
SocketType(inheritedfromSystem.Net.Sockets.Socket)
SelectthemethodnametogototheMicrosoftdocumentation.
SeeAlsoProxySocketClass|Org.Mentalis.Network.ProxySocketNamespace
Copyright©2002,TheKPD-Team
Mentalis.orgProxySocketDocumentation
GetsorsetstheEndPointoftheproxyserver.
[VisualBasic]PublicPropertyProxyEndPointAs
[C#]
publicSystem.Net.IPEndPointProxyEndPoint{get;set;}
PropertyValueAnIPEndPointobjectthatholdstheIPaddressandtheportoftheproxyserver.
SeeAlsoProxySocketClass|ProxySocketMembers|Org.Mentalis.Network.ProxySocketNamespace
Copyright©2002,TheKPD-Team
ProxySocket.ProxyEndPointProperty
Mentalis.orgProxySocketDocumentation
Getsorsetsthepasswordtousewhenauthenticatingwiththeproxy.
[VisualBasic]PublicPropertyProxyPassAsString
[C#]
publicstringProxyPass{get;set;}
PropertyValueAstringthatholdsthepasswordthat'susedwhenauthenticatingwiththeproxy.
ExceptionsExceptionType ConditionSystem.ArgumentNullException Thespecifiedvalueisnull.
SeeAlsoProxySocketClass|ProxySocketMembers|Org.Mentalis.Network.ProxySocketNamespace
Copyright©2002,TheKPD-Team
ProxySocket.ProxyPassProperty
Mentalis.orgProxySocketDocumentation
Getsorsetsthetypeofproxyservertouse.
[VisualBasic]PublicPropertyProxyTypeAsOrg.Mentalis.Network.ProxySocket.ProxyTypes
[C#]
publicProxyTypesProxyType{get;set;}
PropertyValueOneoftheProxyTypesvalues.
SeeAlsoProxySocketClass|ProxySocketMembers|Org.Mentalis.Network.ProxySocketNamespace
Copyright©2002,TheKPD-Team
ProxySocket.ProxyTypeProperty
Mentalis.orgProxySocketDocumentation
Getsorsetstheusernametousewhenauthenticatingwiththeproxy.
[VisualBasic]PublicPropertyProxyUserAsString
[C#]
publicstringProxyUser{get;set;}
PropertyValueAstringthatholdstheusernamethat'susedwhenauthenticatingwiththeproxy.
ExceptionsExceptionType ConditionSystem.ArgumentNullException Thespecifiedvalueisnull.
SeeAlsoProxySocketClass|ProxySocketMembers|Org.Mentalis.Network.ProxySocketNamespace
Copyright©2002,TheKPD-Team
ProxySocket.ProxyUserProperty
Mentalis.orgProxySocketDocumentation
ThemethodsoftheProxySocketclassarelistedbelow.ForacompletelistofProxySocketclassmembers,seetheProxySocketMemberstopic.
PublicInstanceMethodsAccept(inheritedfromSocket) Selectthemethodnametogoto
theMicrosoftdocumentation.
BeginAccept(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
BeginConnect Overloaded.Beginsanasynchronousrequestforaconnectiontoanetworkdevice.
BeginConnect(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
BeginReceive(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
BeginReceiveFrom(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
BeginSend(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
BeginSendTo(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
Bind(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Close(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Connect Overloaded.Establishesaconnectiontoaremotedevice.
Connect(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
ProxySocketMethods
EndAccept(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
EndConnect Overloaded.Endsapendingasynchronousconnectionrequest.
EndConnect(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
EndReceive(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
EndReceiveFrom(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
EndSend(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
EndSendTo(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
Equals(inheritedfromObject) SelectthemethodnametogototheMicrosoftdocumentation.
GetHashCode(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
GetSocketOption(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
GetSocketOption(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
GetSocketOption(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
GetType(inheritedfromObject) SelectthemethodnametogototheMicrosoftdocumentation.
IOControl(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
Listen(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Poll(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Receive(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Receive(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Receive(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Receive(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
ReceiveFrom(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
ReceiveFrom(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
ReceiveFrom(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
ReceiveFrom(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
Send(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Send(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Send(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
Send(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
SendTo(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
SendTo(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
SendTo(inheritedfromSocket) Selectthemethodnametogoto
theMicrosoftdocumentation.
SendTo(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
SetSocketOption(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
SetSocketOption(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
SetSocketOption(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
Shutdown(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
ToString(inheritedfromObject) SelectthemethodnametogototheMicrosoftdocumentation.
ProtectedInstanceMethodsDispose(inheritedfromSocket) Selectthemethodnametogoto
theMicrosoftdocumentation.
Finalize(inheritedfromSocket) SelectthemethodnametogototheMicrosoftdocumentation.
MemberwiseClone(inheritedfromObject)
SelectthemethodnametogototheMicrosoftdocumentation.
ExplicitInterfaceImplementationsIDisposable.Dispose(inheritedfromSocket)
SelectthemethodnametogototheMicrosoftdocumentation.
SeeAlsoProxySocketClass|Org.Mentalis.Network.ProxySocketNamespace
Copyright©2002,TheKPD-Team
Mentalis.orgProxySocketDocumentation
Beginsanasynchronousrequestforaconnectiontoanetworkdevice.
OverloadListBeginsanasynchronousrequestforaconnectiontoanetworkdevice.
publicIAsyncResultBeginConnect(EndPoint,AsyncCallback,object);
Beginsanasynchronousrequestforaconnectiontoanetworkdevice.
publicIAsyncResultBeginConnect(string,int,AsyncCallback,object);
publicIAsyncResultBeginConnect(EndPoint,AsyncCallback,object);
SeeAlsoProxySocketClass|ProxySocketMembers|Org.Mentalis.Network.ProxySocketNamespace
Copyright©2002,TheKPD-Team
ProxySocket.BeginConnect
Mentalis.orgProxySocketDocumentation
Beginsanasynchronousrequestforaconnectiontoanetworkdevice.
[VisualBasic]OverloadsPublicFunctionBeginConnect(_
ByValremoteEPAsSystem.Net.EndPoint,_
ByValcallbackAsSystem.AsyncCallback,_
ByValstateAsObject_
)AsSystem.IAsyncResult
[C#]
publicIAsyncResultBeginConnect(
EndPointremoteEP,
AsyncCallbackcallback,
objectstate
);
ParametersremoteEP
AnEndPointthatrepresentstheremotedevice.
callbackTheAsyncCallbackdelegate.
stateAnobjectthatcontainsstateinformationforthisrequest.
ReturnValueAnIAsyncResultthatreferencestheasynchronousconnection.
ExceptionsExceptionType ConditionSystem.ArgumentNullException TheremoteEPparameteris
anullreference(NothinginVisualBasic).
ProxySocket.BeginConnectMethod(EndPoint,AsyncCallback,Object)
System.Net.Sockets.SocketException AnoperatingsystemerroroccurswhilecreatingtheSocket.
System.ObjectDisposedException TheSockethasbeenclosed.
SeeAlsoProxySocketClass|ProxySocketMembers|Org.Mentalis.Network.ProxySocketNamespace|ProxySocket.BeginConnectOverloadList
Copyright©2002,TheKPD-Team
Mentalis.orgProxySocketDocumentation
Beginsanasynchronousrequestforaconnectiontoanetworkdevice.
[VisualBasic]
OverloadsPublicFunctionBeginConnect(_
ByValremoteEPAsSystem.Net.EndPoint,_
ByValcallbackAsSystem.AsyncCallback,_
ByValstateAsObject_
)AsSystem.IAsyncResult
[C#]
publicIAsyncResultBeginConnect(
EndPointremoteEP,
AsyncCallbackcallback,
objectstate
);
ParametersremoteEP
AnEndPointthatrepresentstheremotedevice.
callbackTheAsyncCallbackdelegate.
stateAnobjectthatcontainsstateinformationforthisrequest.
ReturnValueAnIAsyncResultthatreferencestheasynchronousconnection.
ExceptionsExceptionType ConditionSystem.ArgumentNullException TheremoteEPparameteris
anullreference(Nothingin
ProxySocket.BeginConnectMethod(EndPoint,AsyncCallback,Object)
VisualBasic).
System.Net.Sockets.SocketException AnoperatingsystemerroroccurswhilecreatingtheSocket.
System.ObjectDisposedException TheSockethasbeenclosed.
SeeAlsoProxySocketClass|ProxySocketMembers|Org.Mentalis.Network.ProxySocketNamespace|ProxySocket.BeginConnectOverloadList
Copyright©2002,TheKPD-Team
Mentalis.orgProxySocketDocumentation
Beginsanasynchronousrequestforaconnectiontoanetworkdevice.
[VisualBasic]OverloadsPublicFunctionBeginConnect(_
ByValhostAsString,_
ByValportAsInteger,_
ByValcallbackAsSystem.AsyncCallback,_
ByValstateAsObject_
)AsSystem.IAsyncResult
[C#]
publicIAsyncResultBeginConnect(
stringhost,
intport,
AsyncCallbackcallback,
objectstate
);
Parametershost
Thehosttoconnectto.
portTheportontheremotehosttoconnectto.
callbackTheAsyncCallbackdelegate.
stateAnobjectthatcontainsstateinformationforthisrequest.
ReturnValueAnIAsyncResultthatreferencestheasynchronousconnection.
Exceptions
ProxySocket.BeginConnectMethod(String,Int32,AsyncCallback,Object)
ExceptionType ConditionSystem.ArgumentNullException Thehostparameterisanull
reference(NothinginVisualBasic).
System.ArgumentException Theportparameterisinvalid.
System.Net.Sockets.SocketException AnoperatingsystemerroroccurswhilecreatingtheSocket.
System.ObjectDisposedException TheSockethasbeenclosed.
SeeAlsoProxySocketClass|ProxySocketMembers|Org.Mentalis.Network.ProxySocketNamespace|ProxySocket.BeginConnectOverloadList
Copyright©2002,TheKPD-Team
Mentalis.orgProxySocketDocumentation
Establishesaconnectiontoaremotedevice.
OverloadListEstablishesaconnectiontoaremotedevice.
publicvoidConnect(EndPoint);
Establishesaconnectiontoaremotedevice.
publicvoidConnect(string,int);
publicvoidConnect(EndPoint);
SeeAlsoProxySocketClass|ProxySocketMembers|Org.Mentalis.Network.ProxySocketNamespace
Copyright©2002,TheKPD-Team
ProxySocket.Connect
Mentalis.orgProxySocketDocumentation
Establishesaconnectiontoaremotedevice.
[VisualBasic]OverloadsPublicSubConnect(_
ByValremoteEPAsSystem.Net.EndPoint_
)
[C#]
publicvoidConnect(
EndPointremoteEP
);
ParametersremoteEP
AnEndPointthatrepresentstheremotedevice.
ExceptionsExceptionType ConditionSystem.ArgumentNullException TheremoteEP
parameterisanullreference(NothinginVisualBasic).
System.Net.Sockets.SocketException AnoperatingsystemerroroccurswhileaccessingtheSocket.
System.ObjectDisposedException TheSockethasbeenclosed.
Org.Mentalis.Network.ProxySocket.ProxyException Anerroroccuredwhiletalkingtothe
ProxySocket.ConnectMethod(EndPoint)
proxyserver.
SeeAlsoProxySocketClass|ProxySocketMembers|Org.Mentalis.Network.ProxySocketNamespace|ProxySocket.ConnectOverloadList
Copyright©2002,TheKPD-Team
Mentalis.orgProxySocketDocumentation
Establishesaconnectiontoaremotedevice.
[VisualBasic]
OverloadsPublicSubConnect(_
ByValremoteEPAsSystem.Net.EndPoint_
)
[C#]
publicvoidConnect(
EndPointremoteEP
);
ParametersremoteEP
AnEndPointthatrepresentstheremotedevice.
ExceptionsExceptionType ConditionSystem.ArgumentNullException TheremoteEP
parameterisanullreference(NothinginVisualBasic).
System.Net.Sockets.SocketException AnoperatingsystemerroroccurswhileaccessingtheSocket.
System.ObjectDisposedException TheSockethasbeenclosed.
Org.Mentalis.Network.ProxySocket.ProxyException Anerroroccuredwhile
ProxySocket.ConnectMethod(EndPoint)
talkingtotheproxyserver.
SeeAlsoProxySocketClass|ProxySocketMembers|Org.Mentalis.Network.ProxySocketNamespace|ProxySocket.ConnectOverloadList
Copyright©2002,TheKPD-Team
Mentalis.orgProxySocketDocumentation
Establishesaconnectiontoaremotedevice.
[VisualBasic]OverloadsPublicSubConnect(_
ByValhostAsString,_
ByValportAsInteger_
)
[C#]
publicvoidConnect(
stringhost,
intport
);
Parametershost
Theremotehosttoconnectto.
portTheremoteporttoconnectto.
RemarksIfyouusethismethodwithaSOCKS4server,itwilllettheserverresolvethehostname.NotallSOCKS4serverssupportthis'remoteDNS'though.
ExceptionsExceptionType ConditionSystem.ArgumentNullException Thehost
parameterisanullreference(NothinginVisualBasic).
System.ArgumentException Theportparameteris
ProxySocket.ConnectMethod(String,Int32)
invalid.
System.Net.Sockets.SocketException AnoperatingsystemerroroccurswhileaccessingtheSocket.
System.ObjectDisposedException TheSockethasbeenclosed.
Org.Mentalis.Network.ProxySocket.ProxyException Anerroroccuredwhiletalkingtotheproxyserver.
SeeAlsoProxySocketClass|ProxySocketMembers|Org.Mentalis.Network.ProxySocketNamespace|ProxySocket.ConnectOverloadList
Copyright©2002,TheKPD-Team
Mentalis.orgProxySocketDocumentation
Endsapendingasynchronousconnectionrequest.
[VisualBasic]OverloadsPublicSubEndConnect(_
ByValasyncResultAsSystem.IAsyncResult_
)
[C#]
publicvoidEndConnect(
IAsyncResultasyncResult
);
ParametersasyncResult
Storesstateinformationforthisasynchronousoperationaswellasanyuser-defineddata.
ExceptionsExceptionType ConditionSystem.ArgumentNullException The
asyncResultparameterisanullreference(NothinginVisualBasic).
System.ArgumentException TheasyncResultparameterwasnotreturnedbyacalltotheBeginConnectmethod.
System.Net.Sockets.SocketException Anoperatingsystemerror
ProxySocket.EndConnectMethod(IAsyncResult)
occurswhileaccessingtheSocket.
System.ObjectDisposedException TheSockethasbeenclosed.
System.InvalidOperationException EndConnectwaspreviouslycalledfortheasynchronousconnection.
Org.Mentalis.Network.ProxySocket.ProxyException Theproxyserverrefusedtheconnection.
SeeAlsoProxySocketClass|ProxySocketMembers|Org.Mentalis.Network.ProxySocketNamespace|ProxySocket.EndConnectOverloadList
Copyright©2002,TheKPD-Team
Mentalis.orgProxySocketDocumentation
Endsapendingasynchronousconnectionrequest.
[VisualBasic]
OverloadsPublicSubEndConnect(_
ByValasyncResultAsSystem.IAsyncResult_
)
[C#]
publicvoidEndConnect(
IAsyncResultasyncResult
);
ParametersasyncResult
Storesstateinformationforthisasynchronousoperationaswellasanyuser-defineddata.
ExceptionsExceptionType ConditionSystem.ArgumentNullException The
asyncResultparameterisanullreference(NothinginVisualBasic).
System.ArgumentException TheasyncResultparameterwasnotreturnedbyacalltotheBeginConnectmethod.
System.Net.Sockets.SocketException Anoperating
ProxySocket.EndConnectMethod(IAsyncResult)
systemerroroccurswhileaccessingtheSocket.
System.ObjectDisposedException TheSockethasbeenclosed.
System.InvalidOperationException EndConnectwaspreviouslycalledfortheasynchronousconnection.
Org.Mentalis.Network.ProxySocket.ProxyException Theproxyserverrefusedtheconnection.
SeeAlsoProxySocketClass|ProxySocketMembers|Org.Mentalis.Network.ProxySocketNamespace|ProxySocket.EndConnectOverloadList
Copyright©2002,TheKPD-Team
Mentalis.orgProxySocketDocumentation
SpecifiesthetypeofproxyserversthataninstanceoftheProxySocketclasscanuse.
[VisualBasic]PublicEnumProxyTypes
[C#]
publicenumProxyTypes
MembersMemberName DescriptionNone Noproxyserver;the
ProxySocketobjectbehavesexactlylikeanordinarySocketobject.
Socks4 ASOCKS4[A]proxyserver.
Socks5 ASOCKS5proxyserver.
RequirementsNamespace:Org.Mentalis.Network.ProxySocketNamespaceAssembly:Org.Mentalis.Network.ProxySocket.dll
SeeAlsoOrg.Mentalis.Network.ProxySocketNamespace
Copyright©2002,TheKPD-Team
ProxyTypesEnumeration
Org.Mentalis.Networl.ProxySocksnamespacedocumentation
Copyright©2002,TheKPD-TeamAllrightsreserved.http://www.mentalis.org/
Redistributionanduseinsourceandbinaryforms,withorwithoutmodification,arepermittedprovidedthatthefollowingconditionsaremet:
-Redistributionsofsourcecodemustretaintheabovecopyrightnotice,thislistofconditionsandthefollowingdisclaimer.
-NeitherthenameoftheKPD-Team,northenamesofitscontributorsmaybeusedtoendorseorpromoteproductsderivedfromthissoftwarewithoutspecificpriorwrittenpermission.
THISSOFTWAREISPROVIDEDBYTHECOPYRIGHTHOLDERSANDCONTRIBUTORS"ASIS"ANDANYEXPRESSORIMPLIEDWARRANTIES,INCLUDING,BUTNOTLIMITEDTO,THEIMPLIEDWARRANTIESOFMERCHANTABILITYANDFITNESSFORAPARTICULARPURPOSEAREDISCLAIMED.INNOEVENTSHALLTHECOPYRIGHTOWNERORCONTRIBUTORSBELIABLEFORANYDIRECT,INDIRECT,INCIDENTAL,SPECIAL,EXEMPLARY,ORCONSEQUENTIALDAMAGES(INCLUDING,BUTNOTLIMITEDTO,PROCUREMENTOFSUBSTITUTEGOODSORSERVICES;LOSSOFUSE,DATA,ORPROFITS;ORBUSINESSINTERRUPTION)HOWEVERCAUSEDANDONANYTHEORYOFLIABILITY,WHETHERINCONTRACT,STRICTLIABILITY,ORTORT(INCLUDINGNEGLIGENCEOROTHERWISE)ARISINGINANYWAYOUTOFTHEUSEOFTHISSOFTWARE,
SourceCodeLicense
EVENIFADVISEDOFTHEPOSSIBILITYOFSUCHDAMAGE.
Copyright©2002,TheKPD-Team