namespace Msp {
namespace Net {
-#ifdef WIN32
-typedef int socklen_t;
-#endif
-
-
class bad_socket_state: public std::logic_error
{
public:
const SockAddr &get_local_address() const;
void set_timeout(const Time::TimeDelta &);
-protected:
- int set_option(int, int, const void *, socklen_t);
- int get_option(int, int, void *, socklen_t *) const;
};
} // namespace Net