BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Socket priority

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
keyser
Guest





PostPosted: Thu Sep 01, 2005 1:30 pm    Post subject: Socket priority Reply with quote




I am using D7 and Indy 9

Is it possible to set the priority of a socket? I am currently
communicating between clients/Server and am now looking to add
large chuncks of binary data. I was thinking of creating a new
socket for this data and would like it to be at a lower priority
so that communication on the original socket would get the full
bandwith when it is in use.


Thanks.
Back to top
Martin James
Guest





PostPosted: Thu Sep 01, 2005 3:44 pm    Post subject: Re: Socket priority Reply with quote



Quote:
Is it possible to set the priority of a socket?

Not really, AFAIK. You can increase the priority of a particular stream
segment within one socket stream, and arrange for it to be received as a
seperate stream segment, by using the OOB_DATA channel. This may be your
best bet.

Note - I have never used this functionality of TCP, so I do not have any
example code etc.

If you use a completely separate socket stream, you could try raising the
priority of the sending and recieving threads on the control channel so that
their data tends to get into, and out of, the network before the large,
binary stream. How successful ths would be, I do not know.

Rgds,
Martin




Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.