YDLIDAR SDK  V1.3.6
Classes | Functions
ydlidar Namespace Reference

Classes

class  CActiveSocket
 
class  CPassiveSocket
 
class  CSimpleSocket
 
class  YDlidarDriver
 

Functions

void init (int argc, char *argv[])
 
bool ok ()
 
void shutdownNow ()
 

Detailed Description

Provides a platform independent class to create a passive socket. A passive socket is used to create a "listening" socket. This type of object would be used when an application needs to wait for inbound connections. Support for CSimpleSocket::SocketTypeTcp, CSimpleSocket::SocketTypeUdp, and CSimpleSocket::SocketTypeRaw is handled in a similar fashion. The big difference is that the method CPassiveSocket::Accept should not be called on the latter two socket types.