Star-Dust Expert Licensed User Longtime User May 11, 2022 #1 Can I open a socket to send a string with Banano? Last edited: May 11, 2022
alwaysbusy Expert Licensed User Longtime User May 11, 2022 #2 No. Webbrowsers do not support normal TCP sockets. Alwaysbusy Upvote 0
Star-Dust Expert Licensed User Longtime User May 11, 2022 #3 I found these instructions, can I adapt to Banano? localcoder.org - localcoder Resources and Information. localcoder.org is your first and best source for all of the information you’re looking for. From general topics to more of what you would expect to find here, localcoder.org has it all. We hope you find what you are searching for! localcoder.org Upvote 0
I found these instructions, can I adapt to Banano? localcoder.org - localcoder Resources and Information. localcoder.org is your first and best source for all of the information you’re looking for. From general topics to more of what you would expect to find here, localcoder.org has it all. We hope you find what you are searching for! localcoder.org
DonManfred Expert Licensed User Longtime User May 11, 2022 #4 Star-Dust said: I found these instructions, can I adapt to Banano? Click to expand... are you writing a Chrome-Extension? Based on your link it is only available in Chrome-Extensions and are experimental. Chrome now has support for raw TCP and UDP sockets in its ‘experimental’ APIs. These features are only available for extensions and, although documented, are hidden for the moment. Click to expand... Last edited: May 11, 2022 Upvote 0
Star-Dust said: I found these instructions, can I adapt to Banano? Click to expand... are you writing a Chrome-Extension? Based on your link it is only available in Chrome-Extensions and are experimental. Chrome now has support for raw TCP and UDP sockets in its ‘experimental’ APIs. These features are only available for extensions and, although documented, are hidden for the moment. Click to expand...
alwaysbusy Expert Licensed User Longtime User May 11, 2022 #5 DonManfred said: Chrome-Extension Click to expand... Yes, this is only for chrome extensions and cannot be used just in a WebApp. So, no, not doable with BANano. Upvote 0
DonManfred said: Chrome-Extension Click to expand... Yes, this is only for chrome extensions and cannot be used just in a WebApp. So, no, not doable with BANano.
alwaysbusy Expert Licensed User Longtime User May 11, 2022 #6 Star-Dust said: they are different solutions Click to expand... From what I understand: solution 1: Chrome Extensions solution 2: just a specification documentation. The API is not implemented in any browser yet solution 3: uses WebSockets to initially talk from the browser. Some external server written in python makes a TCP socket. solution 4: flash (dead) solution 5: Chrome Extensions WebSockets are all you can use for the moment. that is why for example MQTT in JavaScript also only supports WebSockets, not TCP. Maybe one day... Upvote 0
Star-Dust said: they are different solutions Click to expand... From what I understand: solution 1: Chrome Extensions solution 2: just a specification documentation. The API is not implemented in any browser yet solution 3: uses WebSockets to initially talk from the browser. Some external server written in python makes a TCP socket. solution 4: flash (dead) solution 5: Chrome Extensions WebSockets are all you can use for the moment. that is why for example MQTT in JavaScript also only supports WebSockets, not TCP. Maybe one day...
Star-Dust Expert Licensed User Longtime User May 11, 2022 #7 Patience, I thought I had found something useful. It seems that node.JS is needed to do such a thing .... For the moment I give up Upvote 0
Patience, I thought I had found something useful. It seems that node.JS is needed to do such a thing .... For the moment I give up