Skip to content

Instantly share code, notes, and snippets.

@loki42
Created July 17, 2012 09:09
Show Gist options
  • Save loki42/3128229 to your computer and use it in GitHub Desktop.
Save loki42/3128229 to your computer and use it in GitHub Desktop.
ipv6 gevent server
s = gevent.socket.socket(gevent.socket.AF_INET6, gevent.socket.SOCK_STREAM)
s.bind(('::', 0))
s.listen(2048)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment