Hi Sergey,

It seems, you do it incorrectly :) dial(2) has an exact example if using announce/listen/accept functions. 

I do exactly what I need. ;)

The sequence announce/listen/accept is very well known to me.

But I need both possibilities:
- accept incoming connection
- reject incoming connection, which failed.

Thank to Charles, I finally understood.

Pavel