git-svn-id: svn://db.shs.com.ru/pip@305 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2017-01-18 12:27:41 +00:00
parent e8e33520cf
commit 4c830bc982
4 changed files with 54 additions and 8 deletions

View File

@@ -133,7 +133,7 @@ PIEthernet::PIEthernet(int sock_, PIString ip_port): PIIODevice("", ReadWrite) {
PIEthernet::~PIEthernet() {
//piCoutObj << "~PIEthernet ...";
//piCout << "~PIEthernet" << uint(this);
stop();
closeDevice();
piMonitor.ethernets--;
@@ -142,6 +142,7 @@ PIEthernet::~PIEthernet() {
void PIEthernet::construct() {
//piCout << " PIEthernet" << uint(this);
piMonitor.ethernets++;
connected_ = connecting_ = listen_threaded = server_bounded = false;
port_ = port_s = port_r = 0;