on posix also no accept() on the tty line
This commit is contained in:
parent
b7ae923e15
commit
860ff64fed
1 changed files with 0 additions and 2 deletions
2
dc11.cpp
2
dc11.cpp
|
@ -132,12 +132,10 @@ void dc11::operator()()
|
|||
// client session
|
||||
pfds[dc11_n_lines + i].fd = INVALID_SOCKET;
|
||||
pfds[dc11_n_lines + i].events = POLLIN;
|
||||
#if defined(ESP32)
|
||||
if (i == serial_line) { // prevent accept() on this socket
|
||||
pfds[i].fd = INVALID_SOCKET;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
|
||||
// listen on port
|
||||
int port = base_port + i + 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue