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

翻訳前ページへ


Methods of Class StreamSocket
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


Methods of Class StreamSocket


StreamSocket
StreamSocket(
oslAddrFamily Family = osl_Socket_FamilyInet,
oslProtocol 議定書 = osl_Socket_ProtocolIp,
oslSocketType Type = osl_Socket_TypeStream );

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
Creates a socket.
Parameters
Type
For some 議定書s it might be 望ましい to
use a different type than osl_Socket_TypeStream
(like osl_Socket_TypeSeqPacket).
Therefore this parameter is not hidden.

StreamSocket
StreamSocket(
const StreamSocket & );

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO


StreamSocket
StreamSocket(
oslSocket Socket,
__sal_NoAcquire noacquire );

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO


StreamSocket
StreamSocket(
oslSocket Socket );

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO


read
sal_Int32 read(
無効の * pBuffer,
sal_uInt32 n );

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

Description
Retrieves n bytes from the stream and copies them into pBuffer. The method 避けるs incomplete reads 予定 to packet 境界s and is thus 封鎖するing.
Parameters
pBuffer
receives the read data. pBuffer must be large enough
to 持つ/拘留する n bytes.
n
the number of bytes to read. 
Return
the number of read bytes. The number will only be smaller than n if an exceptional 条件 (e.g. 関係 の近くにd) occurs.

令状
sal_Int32 令状(
const 無効の * pBuffer,
sal_uInt32 n );

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
令状s n bytes from pBuffer to the stream. The method 避けるs incomplete 令状s 予定 to packet 境界s and is thus 封鎖するing.
Parameters
pBuffer
含む/封じ込めるs the data to be written.
n
the number of bytes to 令状.
Return
the number of written bytes. The number will only be smaller than n if an exceptional 条件 (e.g. 関係 の近くにd) occurs.

recv
sal_Int32 recv(
無効の * pBuffer,
sal_uInt32 BytesToRead,
oslSocketMsgFlag 旗s = osl_Socket_MsgNormal );

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO YES NO

要約
Tries to receive BytesToRead data from the connected socket,
Parameters
pBuffer
Points to a 衝撃を和らげるもの that will be filled with the received 
data. pBuffer must have at least have a size of BytesToRead.
BytesToRead
The number of bytes to read. 
Modifier for the call. Valid values are:

  • osl_Socket_MsgNormal
  • osl_Socket_MsgOOB
  • osl_Socket_MsgPeek
  • osl_Socket_MsgDontRoute
  • osl_Socket_MsgMaxIOVLen
Return
the number of received bytes, which may be いっそう少なく than BytesToRead.

send
sal_Int32 send(
const 無効の * pBuffer,
sal_uInt32 BytesToSend,
oslSocketMsgFlag = osl_Socket_MsgNormal );

事実上の abstract const volatile template static inline C-結合,連鎖
NO NO NO NO NO NO NO NO

要約
Tries to send BytesToSend data to the connected socket.
Parameters
pBuffer
Points to a 衝撃を和らげるもの that 含む/封じ込めるs the send-data.
BytesToSend
The number of bytes to send. pBuffer must have at least
this size.
Modifier for the call. Valid values are:
  • osl_Socket_MsgNormal
  • osl_Socket_MsgOOB
  • osl_Socket_MsgPeek
  • osl_Socket_MsgDontRoute
  • osl_Socket_MsgMaxIOVLen
Return
the number of 移転d bytes. It may be いっそう少なく than BytesToSend.

最高の,を越す 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.