X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finet.h;h=639e64cbb1eca5ec8c9fc2e0d5247c91600adf38;hb=21c596567e3b6fd794ed6af73d304ce2bc70e58f;hp=94436f9c877873aceaa1b3a21aa822ff4f779b29;hpb=dbfb303f336037cf7ca4fca3d8bfe504c624b501;p=libs%2Fnet.git diff --git a/source/inet.h b/source/inet.h index 94436f9..639e64c 100644 --- a/source/inet.h +++ b/source/inet.h @@ -23,8 +23,9 @@ public: virtual SysAddr to_sys() const; - Family get_family() const { return INET; } - std::string str() const; + virtual Family get_family() const { return INET; } + unsigned get_port() const { return port; } + virtual std::string str() const; }; } // namespace Net