Skip to content

Instantly share code, notes, and snippets.

@jots
Created May 2, 2014 05:04
Show Gist options
  • Save jots/11467894 to your computer and use it in GitHub Desktop.
Save jots/11467894 to your computer and use it in GitHub Desktop.
# 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