git-svn-id: svn://db.shs.com.ru/pip@305 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user