mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-17 12:02:36 +01:00
fix: need an implementation of available() for WebSocketImpl
This commit is contained in:
parent
a7bb89839c
commit
162c8ecd39
@ -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();
|
||||
|
@ -341,4 +341,10 @@ Poco::Timespan WebSocketImpl::getReceiveTimeout()
|
||||
}
|
||||
|
||||
|
||||
int WebSocketImpl::available()
|
||||
{
|
||||
return _pStreamSocketImpl->available();
|
||||
}
|
||||
|
||||
|
||||
} } // namespace Poco::Net
|
||||
|
Loading…
Reference in New Issue
Block a user