HoboVR-Labs / issue_tracker

General issues to fix or features to be implemented
3 stars 0 forks source link

[FEATURE REQ]: Better socket solution #5

Closed okawo80085 closed 2 years ago

okawo80085 commented 2 years ago

Is your feature request related to a problem? Please describe. Our driver uses sockets to communicate with posers, but right now its done using our own wrapper which is so fragmented its killing me, some parts barely work together or work differently on different platforms for seemingly no reason.

Describe the solution you'd like Better raw socket wrapper solution which adds 0 performance overhead. It needs too be low level and fast, but also comfortable enough to be useful.

Something like our own cross platform library that does just that would be perfect.

Describe alternatives you've considered ZMQ, but i had to ditch the idea for our tracking loop because it added too much overhead :/

Additional context We use sockets a lot and i don't want to reinvent the wheel every time another component needs to use them.

okawo80085 commented 2 years ago

That was easier then I thought... So we're getting our own socket library boiz :100:

okawo80085 commented 2 years ago

Works wonders https://github.com/HoboVR-Labs/lazy-sockets

okawo80085 commented 2 years ago

As soon im happy with the next driver version using it, this is getting closed and that version is getting merged.

okawo80085 commented 2 years ago

The new socket lib works great, driver still needs some polish, but im closing this because everything socket related is working great now.