Overview | Namespace | Class | 索引 | Help |
Methods of Class SocketAddr
- SocketAddr
- SocketAddr();
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO YES NO
- 要約
- Creates socket 演説(する)/住所 of unknown type.
- SocketAddr
- SocketAddr(
const SocketAddr & Addr );
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO YES NO
- 要約
- Copy 建設者.
- SocketAddr
- SocketAddr(
const oslSocketAddr , __osl_socket_NoCopy nocopy );
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO YES NO
- 要約
- The SocketAddr takes over the 責任/義務 of the 扱う ( which means, that the 扱う gets destructed by the destructor of this 言及/関連)
- Parameters
nocopy use SAL_NO_COPY
- SocketAddr
- SocketAddr(
oslSocketAddr Addr );
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO YES NO
- 要約
- Copyconstructs the oslSocketAddr 扱う.
- SocketAddr
-
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO YES NO
- 要約
- tcpip-specif 建設者.
- Parameters
strAddrOrHostName strAddrOrHostName hostname or dotted ip-number of the 網状組織 interface, the socket shall be created on.
nPort tcp-ip port number
- ~SocketAddr
- ~SocketAddr();
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO YES NO
- 要約
- destroys underlying oslSocketAddress
- is
- sal_Bool is();
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO YES NO
- 要約
- checks, if the SocketAddr was created successful.
- Return
sal_True
if there is a valid underlying 扱う, さもなければ sal_False.
- getHostname
- ::rtl::OUString getHostname(
oslSocketResult * pResult = 0 ) const;
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO YES NO NO NO YES NO
- 要約
- 変えるs the 演説(する)/住所 to a (human readable) domain-指名する.
- Parameters
pResult 0, if you are not 利益/興味d in errors, さもなければ *pResult 含む/封じ込めるs an error code on 失敗 or osl_Socket_Ok on success
- Return
- the hostname of this SocketAddr or an empty string on 失敗.
- See Also
- osl_getHostnameOfSocketAddr()
- setHostname
-
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO YES NO
- 要約
- 始める,決めるs the ipaddress or hostname of the SocketAddress
- getPort
- sal_Int32 getPort();
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO YES NO
- 要約
- Returns the port number of the 演説(する)/住所.
- Return
- the port in host-byte order or or OSL_INVALID_PORT on errors.
- setPort
-
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO YES NO
- 要約
- 始める,決めるs the port number of the 演説(する)/住所.
- Return
- true if successfule.
- setAddr
- sal_Bool setAddr(
const ::rtl::ByteSequence & 演説(する)/住所 );
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO YES NO
- 要約
- 始める,決めるs the 演説(する)/住所 of the underlying socket 演説(する)/住所 struct in 網状組織 byte order.
- Return
- true on success, 誤った signales falure.
- getAddr
- ::rtl::ByteSequence getAddr(
oslSocketResult * pResult = 0 ) const;
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO YES NO NO NO YES NO
- 要約
- Returns the 演説(する)/住所 of the underlying socket in 網状組織 byte order
- 操作者=
- SocketAddr & 操作者=(
oslSocketAddr Addr );
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO YES NO
- 要約
- 割り当てる the 扱う to this 言及/関連. The previous 扱う is 解放(する)d.
- 操作者=
- SocketAddr & 操作者=(
const SocketAddr & Addr );
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO YES NO
- 割り当てる
- SocketAddr & 割り当てる(
oslSocketAddr Addr, __osl_socket_NoCopy nocopy );
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO YES NO
- 要約
- 割り当てるs the socket addr without copyconstructing it.
- Parameters
nocopy use SAL_NO_COPY
- 操作者==
- sal_Bool 操作者==(
oslSocketAddr Addr ) const;
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO YES NO NO NO YES NO
- 要約
- Returns true if the underlying 扱う is 同一の to the Addr 扱う.
- 操作者==
- sal_Bool 操作者==(
const SocketAddr & Addr ) const;
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO YES NO NO NO YES NO
- 要約
- Returns true if the underlying 扱う is 同一の to the Addr 扱う.
- getHandle
- oslSocketAddr getHandle();
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO NO YES NO
- 要約
- Returns the underlying SocketAddr 扱う without copyconstructing it.
- getLocalHostname
- static ::rtl::OUString getLocalHostname(
oslSocketResult * pResult = 0 );
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO YES YES NO
- 要約
- Get the hostname for the 地元の interface.
- Parameters
after the call *pResult 含む/封じ込めるs osl_Socket_Ok on success or an error on 失敗.
- Return
- the hostname
- resolveHostname
- static 無効の resolveHostname(
const ::rtl::OUString & strHostName, SocketAddr & Addr );
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO YES YES NO
- 要約
- Tries to find an 演説(する)/住所 for a host.
- See Also
- osl_resolveHostname()
- Return
- A new created socket-演説(する)/住所 or 0 if the 指名する could not be 設立する.
- getServicePort
- static sal_Int32 getServicePort(
const ::rtl::OUString & strServiceName, const ::rtl::OUString & strProtocolName = :: rtl :: OUString :: createFromAscii "tcp" );
事実上の abstract const volatile template static inline C-結合,連鎖 NO NO NO NO NO YES YES NO
- 要約
- Tries to find the port associated with the given service/議定書- pair (e.g. "ftp"/"tcp").
- Return
- the port number in host-byte order or
OSL_INVALID_PORT
if no service/議定書 pair could be 設立する.
最高の,を越す of Page
Copyright © 2012, The Apache ソフトウェア 創立/基礎, Licensed under the Apache License, 見解/翻訳/版 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache ソフトウェア 創立/基礎. Other 指名するs may be trademarks of their 各々の owners.