Created
May 2, 2014 05:04
-
-
Save jots/11467894 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# nimrod c -d:ssl connect.nim | |
# connect.nim(12, 4) Error: undeclared identifier: 'isSSL=' | |
import sockets, strutils | |
var | |
sock: TSocket | |
server = "www.google.com" | |
port = 443 | |
sock.isSSL = true | |
sock.connect(server,port) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment