Ahmad

Ahmad

  • NA
  • 48
  • 0

sliding window implementation

Dec 8 2008 11:46 AM

Dear all;

i am devolping  FTP application using c# ( sockets + udp protocol ) for uploading and downloading files  using UDP ( our purpose from this project is to use udp over tcp ) and  i must  implement control flow ...

 

- i have implement method for partioining the file into small packets and i added checksum,sequencNumber ..etc

- sender & reciever windows are equal=4..

- i also use serialization in the project ..

- some packets must be damaged after calculating checksum..

the question is :

how can implement sliding window concept on both sender and recirver....

in recieving thread >> how can check that recieved packets in range of expected ones and how can send ack  using ( cumulative ACKS -; sending ACK for largest frame such that all frames less than this have been recieved )

 

Thanx

with all my regards


Answers (1)