multigram icon indicating copy to clipboard operation
multigram copied to clipboard

JS implementation

Open ghost opened this issue 9 years ago • 2 comments

@dignifiedquire @diasdavid do you think multigram in JS would be useful right away? We can get proper (limited) datagram sockets via browser addons for firefox and chrome. We can also use these to make a case for a WebUDP/WebDatagram/WebMessage standard.

https://www.npmjs.com/package/firefox-dgram (for addons) https://www.npmjs.com/package/chrome-dgram (for chrome packaged apps)

Are there any good UDT/uTP/QUIC implementations in JS that we could use on top?

ghost avatar Aug 24 '16 15:08 ghost

@dignifiedquire @diasdavid do you think multigram in JS would be useful right away?

Right away depends on the use case that currently is not possible. I feel it is more important to make it part of the IPFS network, otherwise it will be always hidden behind a flag in js-ipfs. Nevertheless, I do believe js-ipfs might be a better sandbox to test and develop multigram to get a better feeling for it.

Are there any good UDT/uTP/QUIC implementations in JS that we could use on top?

There is only the uTP bindings to the C library.

daviddias avatar Aug 24 '16 15:08 daviddias

LMK if you want me to rev up https://github.com/ipfs/xtp work

jbenet avatar Aug 24 '16 23:08 jbenet