On 28/02/12 09:28, Stefan Götz wrote:
I meant get_port_from_saddr()
This get_port_from_saddr() function is used when you don't know the saddr is AF_INET or AF_INET6, and it is a static function, but in currently condition we already know it is IPv4 or v6, because except port number, we also extract the IP address from it.
Xin