TCP Send Timing Issue
- From: "Richard Charts" <richard.charts@xxxxxxxxx>
- Date: 10 Nov 2006 13:17:32 -0800
I am building a simulator that needs to send out 2 messages on a tcp
connection each at a rate of 1 packet / 50ms. Right now it kind of
works in that it is sending 8 (4 of each) at 200ms. Is there a way to
force the packets to at the least go out every 50 ms?
If 1 of each is combined is fine, but 4 of each at a time is a problem.
Are there any more options I can set to improve this?
Right now my socket is setup as :
serverSocket = new Socket( AddressFamily.InterNetwork,
SocketType.Stream, ProtocolType.Tcp);
serverSocket.SetSocketOption(SocketOptionLevel.Socket,
SocketOptionName.SendTimeout, 1000);
Thanks.
.
- Follow-Ups:
- Re: TCP Send Timing Issue
- From: Dave Sexton
- Re: TCP Send Timing Issue
- Prev by Date: Re: Difference between Select and Focus?
- Next by Date: Re: ArrayList BinarySearch vs Contains
- Previous by thread: ArrayList BinarySearch vs Contains
- Next by thread: Re: TCP Send Timing Issue
- Index(es):
Relevant Pages
|