#define MSP_NET_STREAMSOCKET_H_
#include "clientsocket.h"
+#include "mspnet_api.h"
namespace Msp {
namespace Net {
-class StreamSocket: public ClientSocket
+class MSPNET_API StreamSocket: public ClientSocket
{
friend class StreamServerSocket;
If the socket is non-blocking, this function may return before the
connection is fully established. The caller must then use either the
poll_connect function or an EventDispatcher to finish the process. */
- virtual bool connect(const SockAddr &);
+ bool connect(const SockAddr &) override;
- virtual bool poll_connect(const Time::TimeDelta &);
+ bool poll_connect(const Time::TimeDelta &) override;
private:
- void on_event(IO::PollEvent);
+ void on_event(IO::PollEvent) override;
};
} // namespace Net