Discuss Scratch

infinitytec
Scratcher
1000+ posts

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

Just wondering…


Not here much, but sometimes I lurk.
God has a plan. He has a plan for everything, and everyone.
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?

“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"
infinitytec
Scratcher
1000+ posts

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

OK. Thanks.


Not here much, but sometimes I lurk.
God has a plan. He has a plan for everything, and everyone.
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.
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.


Not here much, but sometimes I lurk.
God has a plan. He has a plan for everything, and everyone.
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?

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

$(".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
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.


My browser / operating system: Macrosoft Winding XO, Internet Exploder 6.0, Angel Player ver.:1.2.5
;
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


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?

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?

i use arch btw
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.

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

who needs signatures
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

$(".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?

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.


7500+ posts (19th)
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)


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?

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()

$(".box-head")[0].textContent = "committing AT crimes since $whenever"

Powered by DjangoBB