Practical examples how to run client & server mode