actual socket programming - Commissioning

https://www.cnblogs.com/rockyching2009/p/11107094.html

1、netstat

socket can view the system currently in use, socket state, the process of creating the socket, connected IP address of the peer.

View the routing information can be added -r parameter, or use the route command

 

2、sysctl

sysctl to view, the core configuration information, of course, also includes network-related kernel parameters.

Corresponding to these parameters may likewise be read / proc / sys net / view or modify files in the directory.

 

3、tcpdump和Wireshark

To view network packets, or want to study protocol stack, you can use these two tools.

 

4, the network adapter (driver) the operating state

By / SYS / class / NET / interface directory file implementation.

 

5, wireless network tool

wpa_action      wpa_cli         wpa_passphrase  wpa_supplicant
iw        iwconfig  iwevent   iwgetid   iwlist    iwpriv    iwspy

 

Guess you like

Origin www.cnblogs.com/rockyching2009/p/11107094.html