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: Tue, 1 Oct 2019 16:24:30 +0200 Lines: 30 Message-ID: References: <3aad42d5-eecb-4680-9e6c-eeaba92649bf@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net ZxiRiRlE6yAgGrJhommRPAFWhJC4clWbomDlBTZRBPIa/CAd6f Cancel-Lock: sha1:mkf1Vpl616hQ/tGhbhpQpwVwn8E= In-Reply-To: Content-Language: en-US Xref: csiph.com comp.lang.javascript:37487 On 01.10.19 15:09, Jonas Thörnvall wrote: > Den tisdag 1 oktober 2019 kl. 14:55:23 UTC+2 skrev Jonas Thörnvall: >> I read it is not possible to create a websocket, in clientside >> javascript, "at least not without a chrome plugin", do you have any >> advice on which one to use? >> >> Is there a server, where one can test out such functionality. Like >> push a button and get back hello world message from server? >> >> I just want a really dumbed down example, for my messaging going to >> be really dumbed down midi messages "peer to peer" or "peer server >> peer". >> >> Low ping latency prioritised. > > I've seen there is pages where you send "notes text?" and text over a > server to other users, i do not think i have any plugin handling it. > So is it XMLHttprequests they use to realay messages to other users? You can use XHR but also Websockets - as long as you server supports that. Also see: -- Arno Welzel https://arnowelzel.de