A simple socket listener example using Qt