client with one socket