fgets to read, problem is that code will not continue running in loop until fgets() returns something. how to bypass this to make code run continuously no matter is there data or not?
maybe reactphp?
Обсуждают сегодня