X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finet.h;h=639e64cbb1eca5ec8c9fc2e0d5247c91600adf38;hb=21c596567e3b6fd794ed6af73d304ce2bc70e58f;hp=20f433ad2996418106e38f4ef675f949114c7e28;hpb=2c8b294d26facc7ccca1f5a8dc26765a2ee7d75d;p=libs%2Fnet.git diff --git a/source/inet.h b/source/inet.h index 20f433a..639e64c 100644 --- a/source/inet.h +++ b/source/inet.h @@ -24,6 +24,7 @@ public: virtual SysAddr to_sys() const; virtual Family get_family() const { return INET; } + unsigned get_port() const { return port; } virtual std::string str() const; };