首页 > 代码库 > ACE_INET_Addr

ACE_INET_Addr

#include "ace/INET_Addr.h"

 

//"tango.cs.wustl.edu:1234" 
//"128.252.166.57:1234"
explicit ACE_INET_Addr (const char address[], int address_family = AF_UNSPEC);


 

    ACE_INET_Addr addr("221.226.0.182:9997");
ACE_INET_Addr addr(9997,ACE_LOCALHOST);



 

ACE_INET_Addr