Client: open a window and run a loop; always run in gdb;