GCKNetworkAddress 클래스
    
    
      
    
    
      
      컬렉션을 사용해 정리하기
    
    
      
      내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
    
  
    
  
      
    
  
  
  
  
  
  
    
    
    
네트워크 IP 주소를 나타내는 객체입니다. 
이 객체는 변경할 수 없습니다.
- 다음 이후:
 - 4.2 
 
 
NSObject, <NS copy> 및 <NSSecureCoding>을 상속합니다.
      
        
          | - (instancetype) initWithType:  | 
           | 
          (GCKNetworkAddressType)  | 
          type | 
        
        
          | ipAddress: | 
           | 
          (nullable NSString *)  | 
          ipAddress  | 
        
        
           | 
           | 
           |  | 
        
      
 
지정된 주소 유형과 IP 주소로 GCKNetworkAddress를 구성합니다. 
- Parameters
 - 
  
    | type | The address type.  | 
    | ipAddress | The IP address, in textual form. May be nil to indicate the wildcard ("any") address.  | 
  
   
 
 
      
        
          | - (instancetype) initWithType:  | 
           | 
          (GCKNetworkAddressType)  | 
          type | 
        
        
          | addressData: | 
           | 
          (nullable NSData *)  | 
          addressData  | 
        
        
           | 
           | 
           |  | 
        
      
 
지정된 주소 유형과 원시 주소로 GCKNetworkAddress를 생성합니다. 
- Parameters
 - 
  
    | type | The address type.  | 
    | addressData | An NSData object containing the appropriate address structure (e.g., struct in_addr or struct in6_addr). For the GCKNNetworkAddressTypeIPC, the data is expected to be a UTF8 encoding.  | 
  
   
 
 
지정된 유형의 와일드 카드 주소를 생성합니다. 
 
 
  
  
      
        
          | - (GCKNetworkAddressType) type | 
         
       
   | 
  
readnonatomicassign   | 
  
 
 
적절한 주소 구조를 포함하는 NSData로서의 네트워크 주소입니다 (예: struct in_addr 또는 struct in6_addr). 
주소 유형 IPC의 경우 이 필드는 UTF8 인코딩입니다. 
 
 
 
  
  
  
 
  
    
    
    
  
  
  달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
  최종 업데이트: 2025-07-25(UTC)
  
  
  
    
      [[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-25(UTC)"],[],["The `GCKNetworkAddress` class represents an immutable network IP address. Key actions include: constructing addresses with specified type and IP/raw address using `initWithType:ipAddress:` or `initWithType:addressData:`, creating wildcard addresses with `wildcardAddressOfType:`, loopback addresses with `loopbackAddressOfType:`, or IPv4/IPv6/IPC addresses with corresponding methods. It has properties that return the address's type, IP address, and network data representation. The default initializer is not allowed.\n"]]