Errr... sorry guys. Joke is on me.
Main threads exits before socket is created in new thread. Simple call to sleep() fix this.
Errr... sorry guys. Joke is on me.
Main threads exits before socket is created in new thread. Simple call to sleep() fix this.