Commit 207483a4 authored by 's avatar

Added fix for collector #1159 (using 127.9.9.9 causes win98 to

demand a dialup connection be started, meaning Zope cant be
used offline). This fix is to use 127.0.0.1 for the select
trigger.
parent 00bc29d8
# -*- Mode: Python; tab-width: 4 -*- # -*- Mode: Python; tab-width: 4 -*-
VERSION_STRING = "$Id: select_trigger.py,v 1.10 2000/05/22 14:53:27 brian Exp $" VERSION_STRING = "$Id: select_trigger.py,v 1.11 2000/05/22 16:28:42 brian Exp $"
import asyncore import asyncore
import asynchat import asynchat
...@@ -103,7 +103,7 @@ else: ...@@ -103,7 +103,7 @@ else:
w.setsockopt(socket.IPPROTO_TCP, 1, 1) w.setsockopt(socket.IPPROTO_TCP, 1, 1)
# tricky: get a pair of connected sockets # tricky: get a pair of connected sockets
host='127.9.9.9' host='127.0.0.1'
port=19999 port=19999
while 1: while 1:
try: try:
......
# -*- Mode: Python; tab-width: 4 -*- # -*- Mode: Python; tab-width: 4 -*-
VERSION_STRING = "$Id: select_trigger.py,v 1.10 2000/05/22 14:53:27 brian Exp $" VERSION_STRING = "$Id: select_trigger.py,v 1.11 2000/05/22 16:28:42 brian Exp $"
import asyncore import asyncore
import asynchat import asynchat
...@@ -103,7 +103,7 @@ else: ...@@ -103,7 +103,7 @@ else:
w.setsockopt(socket.IPPROTO_TCP, 1, 1) w.setsockopt(socket.IPPROTO_TCP, 1, 1)
# tricky: get a pair of connected sockets # tricky: get a pair of connected sockets
host='127.9.9.9' host='127.0.0.1'
port=19999 port=19999
while 1: while 1:
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment