Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.javascript Subject: Re: Make a relay script "websocket" between browser and server or peer to peer ? Date: Wed, 2 Oct 2019 11:46:02 +0200 Lines: 17 Message-ID: References: <3aad42d5-eecb-4680-9e6c-eeaba92649bf@googlegroups.com> <7a5eb2c4-62ec-4495-abaa-4fbd0b08ff00@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net f4E+0SaAq6TQ3ffI3abdSglPcGZhP6pesoULvUFS5eW74xTEaH Cancel-Lock: sha1:DgLalq11wi/kDfR8r3V8fdCiaIE= In-Reply-To: <7a5eb2c4-62ec-4495-abaa-4fbd0b08ff00@googlegroups.com> Content-Language: en-US Xref: csiph.com comp.lang.javascript:37491 On 01.10.19 16:36, Jonas Thörnvall wrote: [...] > Can these websocket be used send messages peer to peer "web browser > to web browser" once you located the ip recepients ove server and > distributed back to browsers? No. Websockets can only be used to connect to a server. If you need connections between clients you need WebRTC and probably a STUN/TURN server to tunnel the data for clients which don't have a public IP address. -- Arno Welzel https://arnowelzel.de