stream socket using machines.