Thanks for watching that video! I really hope you enjoy Sockets as much as I did :). If you search for more information feel free to read my blog article here: flutter-explained.dev/a-terminal-real-time-application-with-dart-sockets/
Thanks man. That’s was exactly what I was looking for :) Maybe you could also make a video how the user can authenticate hisself in order to have a save connection?? :)
Great video, thank you. Have you been able to create a listener, with WebSocket, or anything, for Firestore changes on the server with dart? It's easy to do in a flutter app, but what about on the server, with Identity Platform. Any thoughts?
Mhhh interesting, I was not aware that the cloud_firestore package is not available for pure dart. But I checked and there is a package which tries to work only for Dart pub.dev/packages/firedart, if you check there the repository you maybe find some hints on how to solve your problem.
Yes, it is way more advanced and not so low level :) you can send message objects, and the interaction is faster. Socket IO is a node js server and I really liked to work with it.
Thanks for your feedback :). Not yet, will have to try that. Also, I want to set up the next time a google cloud server that will handle the connection to make it a bit more visible and understandable.
@@FlutterExplained Thank you for the response. I think it would be cool to build a multiplayer game to play over the LAN without cloud servers. Could a flutter web app running in the browser do that?
Good explanation, can you make another video about socket darts?, I have a problem when the (server / client ) side is disconnected, then connects directly, I tried to code with a loop if it disconnects it will call the connection socket, but it doesn't work, I hope you can make the video I mean, thank you, sorry my english is bad
@@FlutterExplained please use the dart language on the backend, and please don't use the socket io library etc, sorry for the hassle, Thank you very much, sorry my english is bad
Well, locally on your machine, yes. If the server runs on your machine, you will not need internet. But to make that useful, you will probably need some kind of internet. Alternative would be to have a Server in your company that is only reachable via the LAN.
Thanks, for Making this Video I really appreciate your effort and it was great Help. i am finding Video on How to stream Audio with sockets in flutter/Dart. If there any Please ping link to this comment.👌
Interesting question, but I believe you would need to make the music in junks and send it via the message directly to the server. With that you can then broadcast the music everywhere. Not sure if this is the optimal way but it would be one possible solution.
Good morning. I keep getting this error when trying to run the client.dart file to see that it has connected to the server but i keep getting this error "SocketException: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied." I wrote the code exactly how you wrote yours but still getting the error. Any idea on why?
That is a hard question :). I am working in Dart / Flutter mostly in my free time now for 2 - 3 years. But I am a Software Engineer since 9 years now and know a lot of patterns, therefore it is easier to translate them into Flutter and Dart.
Thanks, this is a lot easier to understand then the recent "Boring Showing" videos on setting up a web socket.
Thanks for watching that video! I really hope you enjoy Sockets as much as I did :). If you search for more information feel free to read my blog article here: flutter-explained.dev/a-terminal-real-time-application-with-dart-sockets/
Thanks a lot, for such easy implementation. You make this complex concept a piece of cake. Thanks once again.
Wunderbar!!!! Vilen Danke!! Sorry, my German doesn't go much further LOL. Thanks a lot, simple and comprehensive explanation!!!
Fantastic german you have there!
Freut mich das es dir geholfen hat! (Happy that it has helped you!)
thanks no one teach like you .
This is a nice and informative video. Please can you do one on Php Websocket and Flutter
I will take a look into it, not sure how much time that will need, but I add it to my list and maybe there will be soon an update.
Thanks for this, waiting for next video
Thanks man. That’s was exactly what I was looking for :)
Maybe you could also make a video how the user can authenticate hisself in order to have a save connection?? :)
Yeah, security first haha
with love from Afghanistan, nice job, keep it on
Good job I wish i would see more of this
Working on it :)
@@FlutterExplained Am thinking of implementing CRM on a mobile app using sockets
Thank You! It was very interestng!
I am glad you liked it :)
Thanks for this video! I'm gonna use Dart to make a small browser MMO game
Amazing! Please share your result with us :)
@@FlutterExplained Thanks, will do :D
Totally awesome...Great thanks
Excellent! Thank you very much 👍
Thanks Loved it,
very informative
Thank you for sharing informations it can solve my erro
Thank you very mush sir. I appreciate you efforts.
Thank you sir, for a wonderful video sir
I can't make connection. Using real device. Connection refused, errno = 111
You are a great teacher!
Thanks for the kind feedback :)
Very nice video. Many thanks
Please can U do same for flutter and laravel websocket
Hi thanks for the suggestion I added it on my list!
Great video, thank you. Have you been able to create a listener, with WebSocket, or anything, for Firestore changes on the server with dart? It's easy to do in a flutter app, but what about on the server, with Identity Platform. Any thoughts?
Mhhh interesting, I was not aware that the cloud_firestore package is not available for pure dart. But I checked and there is a package which tries to work only for Dart pub.dev/packages/firedart, if you check there the repository you maybe find some hints on how to solve your problem.
What's about SocketIO? Do you have experience with this?
Yes, it is way more advanced and not so low level :) you can send message objects, and the interaction is faster. Socket IO is a node js server and I really liked to work with it.
I'm having issue connecting socketIO to django channels can you help me out
How to fetch current network ipv4? So it can look for pre existing network clients
hey , this is for local network,we cant use this for public network ..right? please reply .
Great video. Have you done one on peer-to-peer using browsers?
Thanks for your feedback :). Not yet, will have to try that. Also, I want to set up the next time a google cloud server that will handle the connection to make it a bit more visible and understandable.
@@FlutterExplained Thank you for the response. I think it would be cool to build a multiplayer game to play over the LAN without cloud servers. Could a flutter web app running in the browser do that?
I am not able to see the printing texts.. does anyone face the same problem ??
Can you make a video on secure wss connection flutter with web_socket_channel package? Cause this package doen't deal with errors
Good explanation, can you make another video about socket darts?, I have a problem when the (server / client ) side is disconnected, then connects directly, I tried to code with a loop if it disconnects it will call the connection socket, but it doesn't work, I hope you can make the video I mean, thank you, sorry my english is bad
I will add it to my video idea list thanks :)
@@FlutterExplained please use the dart language on the backend, and please don't use the socket io library etc, sorry for the hassle,
Thank you very much, sorry my english is bad
Does the port that is specified in the client socket refer to the port that the server is on?
Yes exactly!
Error: Unsupported operation: InternetAddress.anyIPv4
The Dart Interface got updated: api.dart.dev/stable/3.0.4/dart-io/InternetAddress/anyIPv4.html
This is not working in flutter web. Please any solution for web thanks
will this work without internet?
Well, locally on your machine, yes. If the server runs on your machine, you will not need internet. But to make that useful, you will probably need some kind of internet.
Alternative would be to have a Server in your company that is only reachable via the LAN.
Thanks, for Making this Video I really appreciate your effort and it was great Help. i am finding Video on How to stream Audio with sockets in flutter/Dart. If there any Please ping link to this comment.👌
Interesting question, but I believe you would need to make the music in junks and send it via the message directly to the server. With that you can then broadcast the music everywhere. Not sure if this is the optimal way but it would be one possible solution.
💙
💙
Good morning. I keep getting this error when trying to run the client.dart file to see that it has connected to the server but i keep getting this error "SocketException: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied." I wrote the code exactly how you wrote yours but still getting the error. Any idea on why?
hey, i fixed this by changing "0.0.0.0" in the client for "localhost", hope it helps!
Are you using this code for flutter web?
This is not working on flutter web platform. Is it possible for flutter web??? Plz reply thanks
Did you find anyway?
Hi, am pretty curious. Please how long have you been coding in dart? Or should I say how long did it take you to get this good with the language?
That is a hard question :). I am working in Dart / Flutter mostly in my free time now for 2 - 3 years. But I am a Software Engineer since 9 years now and know a lot of patterns, therefore it is easier to translate them into Flutter and Dart.