Re: [openssl-users] porting socket ssl python to c++

2018-08-01 Thread Wim Lewis
This pair of articles is quite old, so some of the API details have changed, but it has an overall description of how to use OpenSSL: https://www.linuxjournal.com/article/4822 https://www.linuxjournal.com/article/5487 The link to the example code is broken, but you can find it here: http

[openssl-users] porting socket ssl python to c++

2018-08-01 Thread Roberto Spadim
hi guys, i'm with a newbie question i have this piece of code, but i'm not finding something similar with c++, could anyone help? thanks: import socket import ssl import sys if len(sys.argv) == 3: HOST = sys.argv[1] # IP PORT = int(sys.argv[2]) # Port else: print "USAGE: $python c