Function cwipc_proxy

Function Documentation

cwipc_activesource *cwipc_proxy(const char *host, int port, char **errorMessage, uint64_t apiVersion)

Receive pointclouds over a socket connection.

This function creates a server (in a separate thread) that listens on the given port for an incoming pointcloud stream. Those pointclouds are then returned similar as to synthetic or normal grabbed pointclouds.

Parameters:
  • host – Local hostname or IP address to bind socket to (default: 0.0.0.0)

  • port – Local port number to bind socket to.

  • errorMessage – Address of a char* where any error message is saved (or NULL).

  • apiVersion – Pass in CWIPC_API_VERSION to ensure dll compatibility.