#Before writting on the socket $sock->autoflush(); # so output gets there right away