Re: Call queueing

Jeremy G Harris (mcvax!ukc!stc!root44!
2 Sep 88 15:27:38 GMT

I asked:
> The BSD listen(2) syscall (on a socket) provides for the specification
> of a queue of pending connection requests. So does the TLI T_LISTEN function.

> What are the pros and cons of this functionality? Is it merely a matter
> of the cost of copying a protocol control block versus the cost of opening
> and initialising one? Or is there also a functional benefit?

My thanks to everybody who replied, both here and by mail. Several people
pointed out that I said t_listen when I should have said t_bind - sorry,
my fingers were running faster than my brain....

However, nobody has answered the question that I was trying to ask. I can't
have made a good job of the question :-)

Why does this connection queue have to be handled by the kernel? Why couldn't
the application just open and initialise for listening (not in the BSD syscall
sense) as many transport endpoints as it's queue needs to be long?

Opinions, anybody?


Jeremy Harris

This archive was generated by hypermail 2.0b3 on Thu Mar 09 2000 - 14:43:14 GMT