summaryrefslogtreecommitdiff
path: root/examples/v1arch
diff options
context:
space:
mode:
Diffstat (limited to 'examples/v1arch')
-rw-r--r--examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py b/examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py
index e225521e..5a3979f1 100644
--- a/examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py
+++ b/examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py
@@ -43,7 +43,7 @@ def cbFun(transportDispatcher, transportDomain, transportAddress, wholeMsg):
transportDispatcher = AsynsockDispatcher()
transportDispatcher.registerTransport(
- udp.domainName, udp.UdpSocketTransport().openServerMode(('localhost', 1162))
+ udp.domainName, udp.UdpSocketTransport().openServerMode(('localhost', 162))
)
transportDispatcher.registerRecvCbFun(cbFun)
transportDispatcher.jobStarted(1) # this job would never finish