How to create websocket server running inside Flutter app?
248
You could use the SocketServer class (TCP). I have used this for a similar problem.
For a more complete answer, take a look at: Using Flutter App to run SocketServer and communicate with other phone via Socket
Author by
Maverick Fabroa
Hi, My name is Maverick G. Fabroa, who's currently pursuing a Bachelor's degree in Computer Science at the University of Cebu – Main Campus. I reside in Mandaue City, Cebu here at Philippines. I have 3 years of experience in full-stack web development and a knowledge of Ionic Framework and Flutter as mobile app development. See my github profile: https://github.com/mavyfaby
Updated on December 26, 2022Comments
-
Maverick Fabroa over 1 year
I want to create an app for some simple multiplayer game but I don't know how to create websocket server in Flutter. Any ideas?
-
Maverick Fabroa over 3 yearsThe docs covered only connecting to a websocket server not creating it.