I know that there are several similar questions, for example this . I need to configure a connection between two computers and be able to send a large file. Let me explain the problems that I encountered while reading such messages:
1) many of them talked about connecting tcp. I was able to send data, but most of the time I could not send large amounts of data.
2) most of the examples created on local networks. I was able to send data over two different networks over the Internet with tcp examples, but I had to open the ports on the router and redirect them to the computer I wanted to contact.
3) Libraries like monotorrent or bitharp where it’s hard to find, and I have not found good examples. I can not get them to work.
therefore, in short, I just need to send files from one computer to another computer via the Internet, and I don’t want to open ports on the router and not do any port forwarding. people do not need to open ports on their routers when using limewire, for example, and they download files from another computer. It would be nice if someone can provide me with a brief example of how to configure the server and how to send the file to the server with the client code.
source share