Allow VFS file descriptors in select()

This commit is contained in:
Roland Dobai
2018-05-03 10:41:10 +02:00
parent d84add4513
commit 18e83bcd53
24 changed files with 1250 additions and 17 deletions

View File

@@ -420,7 +420,7 @@ static void mcast_example_task(void *pvParameters)
FD_ZERO(&rfds);
FD_SET(sock, &rfds);
int s = lwip_select(sock + 1, &rfds, NULL, NULL, &tv);
int s = select(sock + 1, &rfds, NULL, NULL, &tv);
if (s < 0) {
ESP_LOGE(TAG, "Select failed: errno %d", errno);
err = -1;