List Info

Thread: Problems with Socket API: Half-Close




Problems with Socket API: Half-Close
country flaguser name
United Kingdom
2007-04-02 05:47:32
I have been experiencing problems with the way passive-close
is specified
for DCCP and developed a solution which avoids the following
problem:

 When a side receives a connection termination (Close or
CloseReq), it 
 can happen that the receive buffers are wiped out before
the application
 had a chance to see the data; sometimes even before
connect() returns.

The solution is based on implementing transitional states
(PASSIVE_1/2)
for passive-close. As in TCP, these are terminated after a
timeout.

I have put the concept and blurb online:

 http://www.erg.abdn.ac.uk/users/gerrit/dccp/docs
/closing_states/

There are patches for this which I would like to submit
along with the
remaining ones for CCID3. I'd be glad if people could have a
look at this
and say if there are disagreements with the concept.

Note: This implementation concept does not affect
standards-compliance 
      since the macroscopic behaviour is still compatible
with RFC 4340.

I am however quite  positive that without transitional
states it will not
work and the API will only function for one or two special
scenarious of
socket programming.

Gerrit
-
To unsubscribe from this list: send the line
"unsubscribe dccp" in
the body of a message to majordomovger.kernel.org
More majordomo info at  http://vge
r.kernel.org/majordomo-info.html

Re: Problems with Socket API: Half-Close
user name
2007-04-02 14:12:51
On 4/2/07, Gerrit Renker <gerriterg.abdn.ac.uk> wrote:
> I have been experiencing problems with the way
passive-close is specified
> for DCCP and developed a solution which avoids the
following problem:
>
> Gerrit
>
This looks good to me after studying for a short while.

-- 
Web: http://wand.net.nz/~iam4/
Blog: http://iansblog.jandi.co.
nz
WAND Network Research Group
-
To unsubscribe from this list: send the line
"unsubscribe dccp" in
the body of a message to majordomovger.kernel.org
More majordomo info at  http://vge
r.kernel.org/majordomo-info.html

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )