]> granicus.if.org Git - python/commitdiff
#6718: fix example.
authorGeorg Brandl <georg@python.org>
Mon, 24 Aug 2009 17:22:05 +0000 (17:22 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 24 Aug 2009 17:22:05 +0000 (17:22 +0000)
Doc/library/socketserver.rst

index d2bbba446cc37eb98e8e3bb0bf36c36964c19835..2ed4935a1407a05a706a87ff07eb18a445d91ffe 100644 (file)
@@ -464,7 +464,7 @@ This is the client side::
    import socket
    import sys
 
-   HOST, PORT = "localhost"
+   HOST, PORT = "localhost", 9999
    data = " ".join(sys.argv[1:])
 
    # SOCK_DGRAM is the socket type to use for UDP sockets