I have experience with using Sockets and socketstreams on Java, where one device would send something into the socket stream and the other read it out of the socket stream, but there one device was server and one client. With this I don't even know really, how to write the Dart/Flutter code, to test the connection between two devices. It's possible that I don't understand the difference between them 100%. I've tried both and neither of them managed to achieve what I wanted. The reason why I'm asking for help here, is because I've looked around and found two options for peer-to-peer in Flutter:Ī faulty example of a peer-to-peer connection in Flutter, with practically no documentationĪ better-documented example of peer-to-peer connection in Flutter, which also doesn't seem to work.Īccording to some people, the first option doesn't even work anymore. So if I have one Mobile device, where I send the message, it's seen by all devices. My goal is to make a little chat widget, where when you post a message, you can see it on all devices, which are connected, a bit like this: I'm working on a Testproject, where I want to exchange information via peer-to-peer from one Mobile device to another.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |