socket state after accept() return

Mulyadi Santosa mulyadi.santosa at gmail.com
Sat Jan 19 10:50:40 EST 2013


On Sat, Jan 19, 2013 at 4:42 AM, horseriver <horserivers at gmail.com> wrote:
> hi:
>
>   For one socket , which has been returned by accept() call  , does its sk_state
>   is  assuredly  already  TCPF_ESTABLISHED ?

the context is TCP, right?

if so, then yes (this is without deep check in linux network stack
code, just based on general logic)

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list