Note that there are some explanatory texts on larger screens.

plurals
  1. POC++ UDP client problem
    primarykey
    data
    text
    <p>I'm working on a reliable UDP based file sharing program. The program consists of 2 parts. Server and Client. Any client may request to download any file. When this occurs, the server should notify the client that owns the file to be downloaded that someone wants to download that file. The server should then somehow indicate to the client that is trying to download the file the IP and Port of the client that has the file.</p> <p>The program is almost done. including the ACKing mechanism. But I have a problem that I couldn't solve for the last couple of hours. if I start the client part of the program on the same machine as my server, and open another instance of the client on another machine everything works perfectly fine. However if I open the server on one machine and open the client programs on different machines I can't send the file from one client to another. I don't know what could possibly cause this issue. I would be happy to send you the solution if you give me your e-mail I don't want to post 1000s of lines of code here.</p> <p>EDIT: OK. I tried every possible scenario and still no solution. I started to think about maybe the problem is not related with the program, maybe its related with my network connections. The computer I'm using as a server is directly connected to the router using ethernet, but the other computers using wireless connection. I'm not sure if it makes a difference? I also tried running the server application on one of my wireless computers, but other computers couldn't connect to it. So it seems like the problem is related with the wireless network.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload