Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Is there a way to do a simple peer-to-peer JS chat?
- bobbybee
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
“simple” “peer-to-peer” “JS”
Pick two out of three?
Pick two out of three?
“Ooo, can I call you Señorita Bee?” ~Chibi-Matoran
- MegaApuTurkUltra
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
no
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- Jonathan50
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
What about WebRTC?
Not yet a Knight of the Mu Calculus.
- Jonathan50
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
I think it's the only standard way to do P2P with JavaScript.
Not yet a Knight of the Mu Calculus.
- TheUltimatum
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
Dang. You got here before me. What about WebRTC?
- MegaApuTurkUltra
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
It's not “simple” What about WebRTC?
Hence bobbybee's comment
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- Wettining
- Scratcher
500+ posts
Is there a way to do a simple peer-to-peer JS chat?
A client to client connection would be nearly impossible. You would have to do client-server-client if you want to use JS
- DatOneLefty
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
A client to client connection would be nearly impossible. You would have to do client-server-client if you want to use JSand make things a little too encrypted
Scratch data available at ScratchDB (Status)
Posts: bf97b44a7fbd33db070f6ade2b7dc549 (btw i use arch)
- novice27b
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
Doesn't webrtc still need a central server for setting up the connection?Actually, it is possible using WebRTC. A client to client connection would be nearly impossible. You would have to do client-server-client if you want to use JS
i use arch btw
- Jonathan50
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
I think so, but afterwards the chatting can still be done P2P. Doesn't webrtc still need a central server for setting up the connection?
Not yet a Knight of the Mu Calculus.
- BookOwl
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
“Is there a way to do a simple peer-to-peer chat in {insert any language name here}?”
No
No
who needs signatures
- MegaApuTurkUltra
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
In hypothetical MATU language, you can do “Is there a way to do a simple peer-to-peer chat in {insert any language name here}?”
No
eseyP2PChat()
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- Austinato
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
Make a programming language like that.In hypothetical MATU language, you can do “Is there a way to do a simple peer-to-peer chat in {insert any language name here}?”
NoI would call that pretty simpleeseyP2PChat()
- Jonathan50
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
No, you can do simple peer-to-peer chat in any programming language with relatively simple peer-to-peer (and procedures). “Is there a way to do a simple peer-to-peer chat in {insert any language name here}?”
No
Last edited by Jonathan50 (July 27, 2017 06:39:51)
Not yet a Knight of the Mu Calculus.
- TheUltimatum
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
It doesn't haveIn hypothetical MATU language, you can do “Is there a way to do a simple peer-to-peer chat in {insert any language name here}?”
NoI would call that pretty simpleeseyP2PChat()
eseyMultiplaer()
- MegaApuTurkUltra
- Scratcher
1000+ posts
Is there a way to do a simple peer-to-peer JS chat?
but it does haveIt doesn't haveIn hypothetical MATU language, you can do “Is there a way to do a simple peer-to-peer chat in {insert any language name here}?”
NoI would call that pretty simpleeseyP2PChat()No support!eseyMultiplaer()
eseyMultilayer()
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- Discussion Forums
- » Advanced Topics
- » Is there a way to do a simple peer-to-peer JS chat?