[hipl-dev] Re: [Merge] lp:~hipl-core/hipl/libhip into lp:hipl

  • From: Xin Gu <eric.nevup@xxxxxxxxx>
  • To: hipl-dev@xxxxxxxxxxxxx
  • Date: Tue, 28 Feb 2012 11:50:55 +0200

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

Other related posts: