We help IT Professionals succeed at work.

SRMP sender

zahmadian
zahmadian asked
on
363 Views
Last Modified: 2010-04-15
Hi Experts,

I am writing SRMP sender program, and I dont know how to send SRMP_DATA, because I should send a packet , and then check if I receive ack for that packet, if not I will send the next packet, But I should keep track of each packet time_out, if for example,
I send packet1
t1=I get the current time
I check if I receive any thing
t2=I check the time
if (t2-t1)<2 seconds
I send packet2
and I should check again for timeout
I dont know exactly in which matter I should keep track of each packet and the timeout for each packet

this are some links of some websites how have done this before:

http://poetry.tetto.org/define/19681/

http://www.cse.ucsd.edu/classes/wi05/cse123a/Project2

http://www.cs.bu.edu/~snyder/cs455/project/pa1.html

http://www.ugrad.cs.ubc.ca/~cs317/X/Assignments/a3/a3.html


Comment
Watch Question

CEO/Programmer
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.