Hi,
I searching how using tcp udp communication with SpiderBasic ?
Sincerely
Eric
tcp, udp
Re: tcp, udp
hi,
SpideBasic have no UDP communication protocol. But, it is a JS engine, so you can maybe use WebRTC to communicate with an other client.
Take a look at WebRTC's RTCDataChannel API ( https://www.html5rocks.com/en/tutorials ... achannels/ )
Do you try WebSocket ? Maybe it is a good alternative for your project ?
maybe @Peter or @falsam can help on this ?
cheers.
SpideBasic have no UDP communication protocol. But, it is a JS engine, so you can maybe use WebRTC to communicate with an other client.
Take a look at WebRTC's RTCDataChannel API ( https://www.html5rocks.com/en/tutorials ... achannels/ )
And the WebRCT official site: https://webrtc.org/The RTCDataChannel API supports a flexible set of data types. The API is designed to mimic WebSocket exactly, and RTCDataChannel supports strings as well as some of the binary types in JavaScript such as Blob, ArrayBuffer and ArrayBufferView. These types can be helpful when working with file transfer and multiplayer gaming.
Do you try WebSocket ? Maybe it is a good alternative for your project ?
maybe @Peter or @falsam can help on this ?
cheers.