[try Beta version]
Not logged in

 
How to make TOR configured application?

Aug 31, 2019 at 2:19pm
I found a code which should work, but it doesn't for me on Visual Studio 2017. It returns me "Error" (return(-1);) and some weird symbol after. Maybe for somebody else this code worked? https://gist.github.com/anhldbk/f62fbe5e5a0e48740c6959e3e0907c81
Last edited on Aug 31, 2019 at 2:58pm
Aug 31, 2019 at 8:40pm
Well it isn't that hard to do some error checks and find out the error from WSAGetLastError(). You may need to check the return of every function used and check the documentation a lot. If you don't like googling the error number you can use FormatMessageA/W which you can figure out. You probably also read the comment to initialize WSA right?
Aug 31, 2019 at 8:53pm
Yes, I added it, you can check the last comment, it's mine
Last edited on Aug 31, 2019 at 8:55pm
Sep 1, 2019 at 2:05am
Yes I tested it, this code is trash. Look somewhere else.
Sep 1, 2019 at 5:06am
Sep 1, 2019 at 8:58pm
Thanks for the heads-up, salem c.
Sep 2, 2019 at 7:58am
Topic archived. No new replies allowed.