I am trying to make a chat app where one pc connects directly to another. I have encountered an issue with not being able to connect to my laptop from an external network despite forwarding the right port on the router.
I have tried Flask and was able to connect to my laptop from an external network. I guess it does some port forwarding magic.
How can I use Flask to send raw data from client to server and server to client? Is there a code sample for this?