got simple socket read write working in misc