Changeset 05d964c
- Timestamp:
- 2011-06-15T12:47:16Z (13 years ago)
- Branches:
- master
- Children:
- bf8ee39
- Parents:
- bd11422
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/skype/skyped.py
rbd11422 r05d964c 180 180 def server(host, port, skype = None): 181 181 global options 182 sock = socket.socket() 182 if ":" in host: 183 sock = socket.socket(socket.AF_INET6) 184 else: 185 sock = socket.socket() 183 186 sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 184 187 sock.bind((host, port)) … … 360 363 -d --debug enable debug messages 361 364 -h --help this help 362 -H --host set the tcp host (default: %s)365 -H --host set the tcp host, supports IPv4 and IPv6 (default: %s) 363 366 -l --log set the log file in background mode (default: none) 364 367 -n --nofork don't run as daemon in the background
Note: See TracChangeset
for help on using the changeset viewer.