[Net] Make StreamPeerTCP::_poll_connection explicit.
No longer hacked into `get_status` and renamed to `poll`. The old `poll` (for *nix `poll`, win `select`) is now called `wait`.
This commit is contained in:
parent
a5eed70fa2
commit
0e52867668
6 changed files with 46 additions and 58 deletions
|
|
@ -273,6 +273,7 @@ void WSLClient::poll() {
|
|||
return; // Not connected.
|
||||
}
|
||||
|
||||
_tcp->poll();
|
||||
switch (_tcp->get_status()) {
|
||||
case StreamPeerTCP::STATUS_NONE:
|
||||
// Clean close
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue