FreeOpcUa / freeopcua

Open Source C++ OPC-UA Server and Client Library
http://freeopcua.github.io/
GNU Lesser General Public License v3.0
713 stars 341 forks source link

Error then server stoped #211

Open SimarglFox opened 8 years ago

SimarglFox commented 8 years ago

Then i try to stop server, in console i get message opc_tcp_async| Running server. opc_tcp_async| Waiting for client connection at: 0.0.0.0:4841 Stopping opcua server application opc_tcp_async| Shutting down server. opc_tcp_async| Error during client connection: Operation canceled opc_tcp_async| Waiting for client connection at: opc_tcp_async| Error accepting client connection: local_endpoint: Bad file descriptor

and thread crash

code here server = new OpcUa::UaServer(DEBUG); server->SetEndpoint("opc.tcp://10.155.26.220:4841/freeopcua/server"); server->SetServerURI("urn://10.155.26.220"); server->Start(); server->Stop();

ralf1070 commented 7 years ago

This one should be fixed with 66365b53e8a4c673b907885c9fe5d5b8c9f59f36.