accept from stdin