- /** Set descriptive text
- */
- void SetDescription(const std::string &description)
- {
- desc = description;
- }
- /** Get description for socket
- */
- const std::string& GetDescription()
- {
- return desc;
- }
- /** Get port number for socket
- */
- int GetPort() { return bind_port; }