Added missing function Socket::read(int), timeout not supported on Unix yet though
This commit is contained in:
parent
23be1d29fa
commit
c992e7e967
1 changed files with 4 additions and 0 deletions
|
@ -57,6 +57,10 @@ bool Socket::isConnected(){
|
|||
return d->connected;
|
||||
}
|
||||
|
||||
std::wstring Socket::read(int) {
|
||||
return this->read();
|
||||
}
|
||||
|
||||
std::wstring Socket::read() {
|
||||
//TODO set d->conneted to false if something goes wrong
|
||||
char inbuf[BUFSIZE];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue