Display socket options

后端 未结 3 1156
不思量自难忘°
不思量自难忘° 2021-02-20 02:24

How I can see from shell what socket options are set? In particular I\'m interesting to know if SO_BROADCAST is set?

3条回答
  •  情歌与酒
    2021-02-20 02:45

    On Linux, you can use the knetstat kernel module to inspect socket options, including SO_BROADCAST.

提交回复
热议问题