by Malkoff [psy dot artsense at gmail dot com] posted on 2008/01/08 |
|
Hello!
I have compile Mentalis Proxy and see
this warnings.
C:\Proxy>csc /doc:out.xml /out:Proxy.exe /t:exe AssemblyInfo.cs AuthBase.cs AuthenticationList.cs AuthNone.cs AuthUserPass.cs Client.cs ConsoleAttributes.cs FtpClient.cs FtpDataConnection.cs FtpListener.cs HttpClient.cs HttpListener.cs Listener.cs PortMapClient.cs PortMapListener.cs Proxy.cs ProxyConfig.cs Socks4Handler.cs Socks5Handler.cs SocksClient.cs SocksHandler.cs SocksListener.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
Proxy.cs(52,16): warning CS0659: 'Org.Mentalis.Proxy.ListenEntry' overrides Object.Equals(object o) but does not override Object.GetHashCode()
Listener.cs(202,33): warning CS0618: 'System.Net.IPAddress.Address' is obsolete: 'IPAddress.Address is address family dependant, use Equals method for comparison.'
Listener.cs(203,35): warning CS0618: 'System.Net.IPAddress.Address' is obsolete: 'IPAddress.Address is address family dependant, use Equals method for comparison.'
Listener.cs(217,33): warning CS0618: 'System.Net.IPAddress.Address' is obsolete: 'IPAddress.Address is address family dependant, use Equals method for comparison.'
Listener.cs(218,35): warning CS0618: 'System.Net.IPAddress.Address' is obsolete: 'IPAddress.Address is address family dependant, use Equals method for comparison.'
Socks4Handler.cs(85,20): warning CS0618: 'System.Net.IPAddress.Address' is obsolete: 'IPAddress.Address is address family dependant, use Equals method for comparison.'
Socks4Handler.cs(121,57): warning CS0618: 'System.Net.IPAddress.Address' is obsolete: 'IPAddress.Address is address family dependant, use Equals method for comparison.'
Socks4Handler.cs(122,57): warning CS0618: 'System.Net.IPAddress.Address' is obsolete: 'IPAddress.Address is address family dependant, use Equals method for comparison.'
Socks4Handler.cs(123,57): warning CS0618: 'System.Net.IPAddress.Address' is obsolete: 'IPAddress.Address is address family dependant, use Equals method for comparison.'
Socks4Handler.cs(124,56): warning CS0618: 'System.Net.IPAddress.Address' is obsolete: 'IPAddress.Address is address family dependant, use Equals method for comparison.'
Socks5Handler.cs(176,21): warning CS0618: 'System.Net.IPAddress.Address' is obsolete: 'IPAddress.Address is address family dependant, use Equals method for comparison.'
Socks5Handler.cs(232,14): warning CS0618: 'System.Net.IPAddress.Address' is obsolete: 'IPAddress.Address is address family dependant, use Equals method for comparison.'
Socks5Handler.cs(233,26): warning CS0618: 'System.Net.IPAddress.Address' is obsolete: 'IPAddress.Address is address family dependant, use Equals method for comparison.'
Socks5Handler.cs(234,26): warning CS0618: 'System.Net.IPAddress.Address' is obsolete: 'IPAddress.Address is address family dependant, use Equals method for comparison.'
Socks5Handler.cs(235,25): warning CS0618: 'System.Net.IPAddress.Address' is obsolete: 'IPAddress.Address is address family dependant, use Equals method for comparison.'
after this i have start proxy.exe and
get addlistener command
host:10.0.0.2;int:100
program say this:
"the specified class does not exist"
why?
|
by unruledboy [unruledboy at gmail dot com] posted on 2008/01/12 |
Reply |
1. it was made with .net 1.x, some functions are obsolete, upgrade the code to .net 2.x by yourself.
2. add listener, firstly you should specify full name of listener class, check out "readme.txt" carefully.
|