I need to transfer data between several computers in a network using my app. I thought of using TCP ports. Are there any tutorials on how to open and use them? I only want to make a file transfer and chat app that works offline.
Here are several examples. Between all of these, you should be able to get what you need.