myclient to socket