lcm-proj / lcm

Lightweight Communications and Marshalling
GNU Lesser General Public License v2.1
944 stars 385 forks source link

tcpq provider does not return NULL when it fails to connect #371

Closed hsenani-ngc closed 1 year ago

hsenani-ngc commented 1 year ago

When using a tcpq:// provider, lcm_create does not return a NULL provider.

There is no way to know if a connection was made programmatically.

lcm_tcpq_create always returns a lcm_provider_t pointer even if no connection is made.