Is there any easy method how to get current socket state? For example -
I have a file descriptor and I know, that this file descriptor is a
socket. How can I get state for this socket - LISTEN, TIME_WAIT and so on?
Thanks.
Is there any easy method how to get current socket state? For example -
I have a file descriptor and I know, that this file descriptor is a
socket. How can I get state for this socket - LISTEN, TIME_WAIT and so on?
Thanks.
There’s no easy way to get this information.
-seanb
Andrey Chilikin <atchilikine@hotmail.com.delete_this> wrote:
Is there any easy method how to get current socket state? For example -
I have a file descriptor and I know, that this file descriptor is a
socket. How can I get state for this socket - LISTEN, TIME_WAIT and so on?Thanks.
Sean Boudreau wrote:
There’s no easy way to get this information.
-seanb
Okay, but what it is the hard one? Any help will be very appreciated.
Thanks,
Andrey
Andrey Chilikin <atchilikine@hotmail.com.delete_this> wrote:
Sean Boudreau wrote:
There’s no easy way to get this information.-seanb
Okay, but what it is the hard one? Any help will be very appreciated.
Replied via email.
-seanb