How to get and set the system socket buffer in AIX?

How to get and set the system socket buffer in AIX?

Dennis 18-05-2009

There are some parameters about the socket buffer in AIX.

sb_max 

Specifies the maximum buffer size allowed for a TCP and UDP socket. Limits setsockopt, udp_sendspace, udp_recvspace, tcp_sendspace, and tcp_recvspace.

 

udp_sendspace  Specifies the system default socket-buffer size for sending UDP data.

tcp_sendspace   Specifies the system default socket buffer size for sending data.

 

udp_recvspace  Specifies the system default socket-buffer size for receiving UDP data.

tcp_recvspace   Specifies the system default socket buffer size for receiving data. This affects the window size used by TCP.

 

How to get it? Take the sb_max for example.

            no -a|grep sb_max

How to get it? Take the sb_max for example.

            no -p -o sb_max=20971520

 

 

你可能感兴趣的:(socket,tcp,System,buffer,Parameters)