summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKen Sato <ksato9700@gmail.com>2011-03-01 00:27:47 -0800
committerKen Sato <ksato9700@gmail.com>2011-03-01 00:27:47 -0800
commit6ef30c054bcd32fc7235bd8619d34c9f29cb8379 (patch)
treea51cd1d2e4c28a0d70c018f6fdd73456f92f6b37 /examples
parent5f913bcf33fed24d1a4c36375a8abbc8b0e6bc6a (diff)
downloadwebsocket-client-6ef30c054bcd32fc7235bd8619d34c9f29cb8379.tar.gz
changed the echo server URL so that we can test without running a local echo server
Diffstat (limited to 'examples')
-rw-r--r--examples/echo_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/echo_client.py b/examples/echo_client.py
index f8f6bf3..1eb5f1b 100644
--- a/examples/echo_client.py
+++ b/examples/echo_client.py
@@ -2,7 +2,7 @@ import websocket
if __name__ == "__main__":
websocket.enableTrace(True)
- ws = websocket.create_connection("ws://localhost:5000/chat")
+ ws = websocket.create_connection("ws://echo.websocket.org/")
print "Sending 'Hello, World'..."
ws.send("Hello, World")
print "Sent"