mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-25 06:36:37 +01:00
poll() support (tested on Solaris and Linux)
array delete policy for SharedPtr
This commit is contained in:
@@ -37,9 +37,14 @@
|
||||
|
||||
|
||||
#include "Poco/Net/Net.h"
|
||||
#include "Poco/Net/Socket.h"
|
||||
#include "CppUnit/TestCase.h"
|
||||
|
||||
|
||||
namespace Poco{
|
||||
class Timespan;
|
||||
}
|
||||
|
||||
class SocketTest: public CppUnit::TestCase
|
||||
{
|
||||
public:
|
||||
@@ -67,6 +72,14 @@ public:
|
||||
static CppUnit::Test* suite();
|
||||
|
||||
private:
|
||||
typedef int (*SelectPtr)(Poco::Net::Socket::SocketList&,
|
||||
Poco::Net::Socket::SocketList&,
|
||||
Poco::Net::Socket::SocketList&,
|
||||
const Poco::Timespan&);
|
||||
|
||||
void doSelectOrPoll1(SelectPtr);
|
||||
void doSelectOrPoll2(SelectPtr);
|
||||
void doSelectOrPoll3(SelectPtr);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user