To make socket client/server sample to work compile separately server and client. Run server and then client as separate consoles. Client will show a message then: This message is sent by the Server ...