- Timestamp:
- 2012-04-22T21:48:09Z (13 years ago)
- Branches:
- master
- Children:
- 3c88759
- Parents:
- e93fa05
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/skype/skyped.py
re93fa05 r9ce44dd 32 32 from ConfigParser import ConfigParser, NoOptionError 33 33 from traceback import print_exception 34 from fcntl import fcntl, F_SETFD, FD_CLOEXEC 34 35 import ssl 35 36 … … 185 186 sock = socket.socket() 186 187 sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 188 fcntl(sock, F_SETFD, FD_CLOEXEC); 187 189 sock.bind((host, port)) 188 190 sock.listen(1) 191 189 192 if hasgobject: 190 193 gobject.io_add_watch(sock, gobject.IO_IN, listener)
Note: See TracChangeset
for help on using the changeset viewer.