namespace Msp {
namespace Net {
+#ifdef WIN32
+typedef int socklen_t;
+#endif
+
struct Socket::Private
{
#ifdef WIN32
/* On POSIX platforms this is the same as the handle. This might seem
strange but it allows the same syntax on both POSIX and Windows. */
IO::Handle event;
+
+ int set_option(int, int, const void *, socklen_t);
+ int get_option(int, int, void *, socklen_t *);
};
} // namespace Net