B4J Question [Banano] Send data to Socket

Star-Dust

Expert
Licensed User
Longtime User
Can I open a socket to send a string with Banano?
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
I found these instructions, can I adapt to Banano?

 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I found these instructions, can I adapt to Banano?
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.
 
Last edited:
Upvote 0

alwaysbusy

Expert
Licensed User
Longtime User
they are different solutions
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

Expert
Licensed User
Longtime User
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
1652279834770.png
 
Upvote 0
Top