On Jun 2, 11:28 am, starburst <[email protected]> wrote:
> Hi,
>
> In the cryptest sample provided, there is a function called
> ForwardTcpPort and i'm trying to use VS command prompt to try it out
> and see how it works. Assuming its acting like a server here, what are
> the input arguments I would have to enter to make it work?
>
> The function is :
> void ForwardTcpPort(const char *sourcePortName, const char
> *destinationHost, const char *destinationPortName)
>
> I tried to do:
>
> "...\cryptest.exe ft 9977 127.0.0.1 telnet"
>
> (I also have telnet running where I've entered: "open localhost 9977")
>
> It runs and outputs till here until it gets an error. Is the problem
> with telnet, socketft ... or my inputs? :S
>
> "Listing on port 9977."
> "Connection accepted on port 9977."
> "Making connection to 127.0.0.1, port 23. "
> "CryptoPP::Exception caught: Socket: connect operation failed with
> error 10061"
>
Winsock error 10061 is WSAECONNREFUSED (http://msdn.microsoft.com/en-
us/library/ms740668(v=vs.85).aspx). Make sure the port is open on the
firewall.

-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.

Reply via email to