fix: need an implementation of available() for WebSocketImpl

This commit is contained in:
Guenter Obiltschnig 2015-09-18 22:42:49 +02:00
parent 89816c0ea2
commit 4e375945f9
2 changed files with 7 additions and 0 deletions

View File

@ -57,6 +57,7 @@ public:
virtual int sendTo(const void* buffer, int length, const SocketAddress& address, int flags = 0);
virtual int receiveFrom(void* buffer, int length, SocketAddress& address, int flags = 0);
virtual void sendUrgent(unsigned char data);
virtual int available();
virtual bool secure() const;
virtual void setSendTimeout(const Poco::Timespan& timeout);
virtual Poco::Timespan getSendTimeout();

View File

@ -322,5 +322,11 @@ Poco::Timespan WebSocketImpl::getReceiveTimeout()
return _pStreamSocketImpl->getReceiveTimeout();
}
int WebSocketImpl::available()
{
return _pStreamSocketImpl->available();
}
} } // namespace Poco::Net