net listen and echo