note: select; tcp - socket read/write