add basic client send function err, add the socket to list when socket is not connected