Monday, 2 September 2013

Determine type of existing socket handle under Linux

Determine type of existing socket handle under Linux

Given only an existing/open socket handle, how can I determine whether the
socket is a connection-oriented socket under Linux? I am searching for
something like the WSAPROTOCOL_INFO under Windows, which I can retrieve
using getsockopt.
Thanks in advance, Christoph

No comments:

Post a Comment