Len for map
reimpl tcp client