Updated server.cpp example.
Merge branch 'new-select'