Commit Graph

8 Commits

Author SHA1 Message Date
Bartosz Taudul
0a7d413e83 select() may update timeval. 2017-09-15 22:44:50 +02:00
Bartosz Taudul
f29669152e Handle closed socket on win32. 2017-09-15 21:43:57 +02:00
Bartosz Taudul
ef7dca9073 Init winsock at application init, not on first socket use. 2017-09-14 02:13:45 +02:00
Bartosz Taudul
b1fcf88cf4 Implement checking if there's data to read on the socket. 2017-09-14 01:14:40 +02:00
Bartosz Taudul
037a4d7fac Handle connection closed/no data in Socket::Read(). 2017-09-13 23:27:17 +02:00
Bartosz Taudul
3dd744019a Socket read loop. 2017-09-13 02:08:30 +02:00
Bartosz Taudul
365f2cde23 Use select in Recv(). 2017-09-13 01:53:47 +02:00
Bartosz Taudul
dbd25e2653 Add sockets wrapper. 2017-09-11 22:51:11 +02:00