Discuss Scratch

infinitytec
Scratcher
1000+ posts

Is there a way to do a simple peer-to-peer JS chat?

Just wondering…
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?
MegaApuTurkUltra
Scratcher
1000+ posts

Is there a way to do a simple peer-to-peer JS chat?

no
infinitytec
Scratcher
1000+ posts

Is there a way to do a simple peer-to-peer JS chat?

OK. Thanks.
Jonathan50
Scratcher
1000+ posts

Is there a way to do a simple peer-to-peer JS chat?

What about WebRTC?
infinitytec
Scratcher
1000+ posts

Is there a way to do a simple peer-to-peer JS chat?

Jonathan50 wrote:

What about WebRTC?
Interesting… but I'm not sure it exactly what I'm looking for. I just want simple peer-to-peer chat, preferably with as little server interaction as possible.
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.
TheUltimatum
Scratcher
1000+ posts

Is there a way to do a simple peer-to-peer JS chat?

Jonathan50 wrote:

What about WebRTC?
Dang. You got here before me.
MegaApuTurkUltra
Scratcher
1000+ posts

Is there a way to do a simple peer-to-peer JS chat?

Jonathan50 wrote:

What about WebRTC?
It's not “simple”
Hence bobbybee's comment
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
nathanprocks
Scratcher
1000+ posts

Is there a way to do a simple peer-to-peer JS chat?

Wettining wrote:

A client to client connection would be nearly impossible. You would have to do client-server-client if you want to use JS
Actually, it is possible using WebRTC.
DatOneLefty
Scratcher
1000+ posts

Is there a way to do a simple peer-to-peer JS chat?

Wettining wrote:

A client to client connection would be nearly impossible. You would have to do client-server-client if you want to use JS
and make things a little too encrypted
novice27b
Scratcher
1000+ posts

Is there a way to do a simple peer-to-peer JS chat?

nathanprocks wrote:

Wettining wrote:

A client to client connection would be nearly impossible. You would have to do client-server-client if you want to use JS
Actually, it is possible using WebRTC.
Doesn't webrtc still need a central server for setting up the connection?
Jonathan50
Scratcher
1000+ posts

Is there a way to do a simple peer-to-peer JS chat?

novice27b wrote:

Doesn't webrtc still need a central server for setting up the connection?
I think so, but afterwards the chatting can still be done P2P.
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
MegaApuTurkUltra
Scratcher
1000+ posts

Is there a way to do a simple peer-to-peer JS chat?

BookOwl wrote:

“Is there a way to do a simple peer-to-peer chat in {insert any language name here}?”
No
In hypothetical MATU language, you can do
eseyP2PChat()
I would call that pretty simple
Austinato
Scratcher
1000+ posts

Is there a way to do a simple peer-to-peer JS chat?

MegaApuTurkUltra wrote:

BookOwl wrote:

“Is there a way to do a simple peer-to-peer chat in {insert any language name here}?”
No
In hypothetical MATU language, you can do
eseyP2PChat()
I would call that pretty simple
Make a programming language like that.
Jonathan50
Scratcher
1000+ posts

Is there a way to do a simple peer-to-peer JS chat?

BookOwl wrote:

“Is there a way to do a simple peer-to-peer chat in {insert any language name here}?”
No
No, you can do simple peer-to-peer chat in any programming language with relatively simple peer-to-peer (and procedures).

Last edited by Jonathan50 (July 27, 2017 06:39:51)

TheUltimatum
Scratcher
1000+ posts

Is there a way to do a simple peer-to-peer JS chat?

MegaApuTurkUltra wrote:

BookOwl wrote:

“Is there a way to do a simple peer-to-peer chat in {insert any language name here}?”
No
In hypothetical MATU language, you can do
eseyP2PChat()
I would call that pretty simple
It doesn't have
eseyMultiplaer()
No support!
MegaApuTurkUltra
Scratcher
1000+ posts

Is there a way to do a simple peer-to-peer JS chat?

TheUltimatum wrote:

MegaApuTurkUltra wrote:

BookOwl wrote:

“Is there a way to do a simple peer-to-peer chat in {insert any language name here}?”
No
In hypothetical MATU language, you can do
eseyP2PChat()
I would call that pretty simple
It doesn't have
eseyMultiplaer()
No support!
but it does have
eseyMultilayer()

Powered by DjangoBB