hanging_server.cpp 243 B

12345678910111213
  1. #include "hanging_server.h"
  2. #include <util/system/yassert.h>
  3. using namespace NBus;
  4. THangingServer::THangingServer(int port) {
  5. BindResult = BindOnPort(port, false);
  6. }
  7. int THangingServer::GetPort() const {
  8. return BindResult.first;
  9. }