0

I'm implementing a TCP protocol. TCP implementation requires to send packets continuously and if the receiver doesnt respond after a particular interval of time it should resend the packet again. I need some method to implement a timer expiry function. How can I implement it?? Should i implement threads (If yes can you please give a sample)? or is there any better method?

Btw I'm implementing it in a Unix system

Edited by bonzi200x: n/a

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by bonzi200x
0

I'm implementing a TCP protocol. TCP implementation requires to send packets continuously and if the receiver doesnt respond after a particular interval of time it should resend the packet again. I need some method to implement a timer expiry function. How can I implement it?? Should i implement threads (If yes can you please give a sample)? or is there any better method?

Btw I'm implementing it in a Unix system

Everything you mention here is already incorporated into TCP/IP..

0

Everything you mention here is already incorporated into TCP/IP..

Thanks for the reply. I'm implementing a a very simple TCP protocol so I want to keep it simple.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.