HeapsIO / hxbit

Haxe Binary serialization and network synchronization library
155 stars 30 forks source link

Can this lib be used with websockets? #62

Open rutexd opened 1 year ago

rutexd commented 1 year ago

Hey, is it possible to use this lib with websocket? As far as i see in your wiki examples, i have to use Socket Host class from heaps, which i guess is TCP. But is there way to use it over hxWebSockets, for example?

ncannasse commented 1 year ago

Yes it doesn't implement actual network. It's just sending and receiving bytes. You can plug it into any protocol

Le ven. 6 janv. 2023 à 02:12, rutexd @.***> a écrit :

Hey, is it possible to use this lib with websocket? As far as i see in your wiki examples, i have to use Socket Host class from heaps, which i guess is TCP. But is there way to use it over hxWebSockets, for example?

— Reply to this email directly, view it on GitHub https://github.com/HeapsIO/hxbit/issues/62, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHZXQHWNBP2KHPAIJV57I3WQ5WPPANCNFSM6AAAAAATSR3N4Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>