fix: need an implementation of available() for WebSocketImpl

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

View File

@ -61,6 +61,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

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