このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


class SocketAddr
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: osl ::

class SocketAddr


Base Classes
非,不,無.
Known Derived Classes
非,不,無.

事実上の abstract interface template
NO NO NO NO
要約
The class should be understood as a 言及/関連 to a socket 演説(する)/住所 扱う ( struct sockaddr ).
Description
The 扱う is mutable.
とじ込み/提出する
socket_decl.hxx

Public Members

Methods


SocketAddr( );
Creates socket 演説(する)/住所 of unknown type.

SocketAddr( const SocketAddr & Addr );
Copy 建設者.

SocketAddr( const oslSocketAddr , __osl_socket_NoCopy nocopy );
The SocketAddr takes over the 責任/義務 of the 扱う ( which means, that the 扱う gets destructed by the destructor of this 言及/関連)

SocketAddr( oslSocketAddr Addr );
Copyconstructs the oslSocketAddr 扱う.

SocketAddr( const ::rtl::OUString & strAddrOrHostName, sal_Int32 nPort );
tcpip-specif 建設者.

~SocketAddr( );
destroys underlying oslSocketAddress
sal_Bool
is( ) const;
checks, if the SocketAddr was created successful.
::rtl::OUString
getHostname( oslSocketResult * pResult = 0 ) const;
変えるs the 演説(する)/住所 to a (human readable) domain-指名する.
sal_Bool
setHostname( const ::rtl::OUString & sDottedIpOrHostname );
始める,決めるs the ipaddress or hostname of the SocketAddress
sal_Int32
getPort( ) const;
Returns the port number of the 演説(する)/住所.
sal_Bool
setPort( sal_Int32 nPort );
始める,決めるs the port number of the 演説(する)/住所.
sal_Bool
setAddr( const ::rtl::ByteSequence & 演説(する)/住所 );
始める,決めるs the 演説(する)/住所 of the underlying socket 演説(する)/住所 struct in 網状組織 byte order.
::rtl::ByteSequence
getAddr( oslSocketResult * pResult = 0 ) const;
Returns the 演説(する)/住所 of the underlying socket in 網状組織 byte order
SocketAddr &
操作者=( oslSocketAddr Addr );
割り当てる the 扱う to this 言及/関連. The previous 扱う is 解放(する)d.
SocketAddr &
操作者=( const SocketAddr & Addr );
SocketAddr &
割り当てる( oslSocketAddr Addr, __osl_socket_NoCopy nocopy );
割り当てるs the socket addr without copyconstructing it.
sal_Bool
操作者==( oslSocketAddr Addr ) const;
Returns true if the underlying 扱う is 同一の to the Addr 扱う.
sal_Bool
操作者==( const SocketAddr & Addr ) const;
Returns true if the underlying 扱う is 同一の to the Addr 扱う.
oslSocketAddr
getHandle( ) const;
Returns the underlying SocketAddr 扱う without copyconstructing it.

Static Methods

static ::rtl::OUString
getLocalHostname( oslSocketResult * pResult = 0 );
Get the hostname for the 地元の interface.
static 無効の
resolveHostname( const ::rtl::OUString & strHostName, SocketAddr & Addr );
Tries to find an 演説(する)/住所 for a host.
static sal_Int32
getServicePort( const ::rtl::OUString & strServiceName, const ::rtl::OUString & strProtocolName = :: rtl :: OUString :: createFromAscii "tcp" );
Tries to find the port associated with the given service/議定書- pair (e.g. "ftp"/"tcp").

保護するd Members

Data

oslSocketAddr m_handle;

最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.