using sockt, now to change to default socket client