SICKAG/sick_scan_base

Blocked at sock->loopOnce() after disconnecting sensor.

Closed this issue · 0 comments

I wanna test reconnection functionality of my own lib, so I tried to disconnect sensor while the driver runs well on my lib.

However, it is just blocked at function sock->loopOnce() (sock is an instance of sick_scan::SickScanCommonTcp).

Is there anyway I can stop the block? Or how to just stop a tcp sockect and start a new one with ease and properly?