Has anyone worked with or created a WebSocket server using Dart? I’m looking to build a system that captures the IP of the Wi-Fi network and creates a WebSocket, allowing all users on the same network to exchange and synchronize files, similar to a simplified version of AirDrop. How can I set up this WebSocket in Dart and add all users on the same Wi-Fi network to the WebSocket channel? Any guidance or code examples would be greatly appreciated. Thanks!
I tried setting up a WebSocket server in Flutter to facilitate file exchange between users on the same Wi-Fi network. I expected to successfully create a WebSocket connection where devices on the same network could automatically join the channel and exchange files seamlessly. However, I encountered issues with properly setting up the WebSocket server and managing user connections based on the Wi-Fi network. I’m seeking guidance on how to achieve this functionality effectively.