Skip to content

Commit

Permalink
Add a netcat example
Browse files Browse the repository at this point in the history
  • Loading branch information
hkociemba committed May 4, 2017
1 parent ac46b21 commit 1af154e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions example.py
Expand Up @@ -42,24 +42,24 @@
# Once the server is started you can transfer the cube definition string to the server with different methods:

# ----------------------------------------------------------------------------------------------------------------------
# 1. With a webbrowser, if the server runs on the same machine on port 8080, do not forget the '?' !
# http://localhost:8080/?DUUBULDBFRBFRRULLLBRDFFFBLURDBFDFDRFRULBLUFDURRBLBDUDL
# 1. With a webbrowser, if the server runs on the same machine on port 8080
# http://localhost:8080/DUUBULDBFRBFRRULLLBRDFFFBLURDBFDFDRFRULBLUFDURRBLBDUDL
# With a webbrowser, if the server runs on server myserver.com, port 8081
# http://myserver.com:8081/?DUUBULDBFRBFRRULLLBRDFFFBLURDBFDFDRFRULBLUFDURRBLBDUDL
# http://myserver.com:8081/DUUBULDBFRBFRRULLLBRDFFFBLURDBFDFDRFRULBLUFDURRBLBDUDL
# ----------------------------------------------------------------------------------------------------------------------

# ----------------------------------------------------------------------------------------------------------------------
# 2. With telnet, just send the cube definition string
# 2. With netcat, if the server runs on the same machine on port 8080
# echo DUUBULDBFRBFRRULLLBRDFFFBLURDBFDFDRFRULBLUFDURRBLBDUDL | nc localhost 8080
# ----------------------------------------------------------------------------------------------------------------------


# ----------------------------------------------------------------------------------------------------------------------
# 3. With this little graphical interface. Set
# 3. With this little graphical interface.
# From within a Python script start the interface with

import client_gui

# From a terminal you start the interface with
# From a terminal start the interface with
# python client_gui.py
# ----------------------------------------------------------------------------------------------------------------------

Expand Down

0 comments on commit 1af154e

Please sign in to comment.