Methods
|
Socket( ); |
|
Socket( const Socket & socket ); |
|
Socket( oslSocket socketHandle ); |
|
Socket( oslSocket socketHandle, __sal_NoAcquire noacquire ); |
The instance takes over the 扱う's 所有権 without acquiring the
扱う, but 解放(する)s it within the dtor.
|
~Socket( ); |
Destructor. 解放(する)s the underlying 扱う
|
Socket &
操作者=( oslSocket socketHandle ); |
Assignment 操作者. If socket was already created, the old one will
be discarded.
|
Socket &
操作者=( const Socket & sock ); |
Assignment 操作者. If socket was already created, the old one will
be discarded.
|
sal_Bool
操作者==( const Socket & rSocket ) const; |
|
sal_Bool
操作者==( const oslSocket socketHandle ) const; |
|
無効の
shutdown( oslSocketDirection Direction = osl_Socket_DirReadWrite ); |
の近くにs a 限定された or both directions of the bidirectional stream.
|
無効の
の近くに( ); |
|
無効の
getLocalAddr( SocketAddr & Addr ) const; |
Retrieves the 演説(する)/住所 of the 地元の interface of this socket.
|
sal_Int32
getLocalPort( ) const; |
Get the 地元の port of the socket. Usually used after 貯蔵所d().
|
::rtl::OUString
getLocalHost( ) const; |
Get the hostname for the 地元の interface.
|
無効の
getPeerAddr( SocketAddr & Addr ) const; |
Retrieves the 演説(する)/住所 of the remote host of this socket.
|
sal_Int32
getPeerPort( ) const; |
Get the remote port of the socket.
|
::rtl::OUString
getPeerHost( ) const; |
Get the hostname for the remote interface.
|
sal_Bool
貯蔵所d( const SocketAddr & LocalInterface ); |
貯蔵所d the socket to the 明示するd (地元の) interface.
|
sal_Bool
isRecvReady( const TimeValue * pTimeout = 0 ) const; |
Checks if read 操作/手術s will 封鎖する.
|
sal_Bool
isSendReady( const TimeValue * pTimeout = 0 ) const; |
Checks if send 操作/手術s will 封鎖する.
|
sal_Bool
isExceptionPending( const TimeValue * pTimeout = 0 ) const; |
Checks if a request for out-of-禁止(する)d data will 封鎖する.
|
oslSocketType
getType( ) const; |
Queries the socket for its type.
|
sal_Int32
getOption( oslSocketOption 選択, 無効の * pBuffer, sal_uInt32 BufferLen, oslSocketOptionLevel Level = osl_Socket_LevelSocket ) const; |
Retrieves 選択-せいにするs associated with the socket.
|
sal_Bool
setOption( oslSocketOption 選択, 無効の * pBuffer, sal_uInt32 BufferLen, oslSocketOptionLevel Level = osl_Socket_LevelSocket ) const; |
始める,決めるs the sockets せいにするs.
|
sal_Bool
setOption( oslSocketOption 選択, sal_Int32 nValue ); |
Convenience 機能(する)/行事 for setting sal_Bool and sal_Int32 選択 values.
|
sal_Int32
getOption( oslSocketOption 選択 ) const; |
Convenience 機能(する)/行事 for retrieving sal_Bool and sal_Int32 選択 values.
|
sal_Bool
enableNonBlockingMode( sal_Bool bNonBlockingMode ); |
Enables/無能にするs 非,不,無-封鎖するing 方式 of the socket.
|
sal_Bool
isNonBlockingMode( ) const; |
Query 封鎖するing 方式 of the socket.
|
無効の
clearError( ) const; |
(疑いを)晴らすs the error status
|
oslSocketError
getError( ) const; |
returns a constant decribing the last error for the socket system.
|
::rtl::OUString
getErrorAsString( ) const; |
Builds a string with the last error-message for the socket.
|
oslSocket
getHandle( ) const; |
Returns the underlying 扱う unacquired (The 報知係 must acquire it to keep it).
|