首页 / 词典 / good

recv

  • 网络接收;接收数据;收到;函数
recvrecv
  1. What happens , then , if you have something like world . recv ( 0,1 , data ); on the receiver side ?

    如果在接收方有world.recv(0,1,data);这样的代码,会发生什么?

  2. Note the use of ACE_INET_Addr in the recv method : This helps capture the peer computer from which the data was being transmitted .

    注意recv方法中对ACEINETAddr的使用方法:这有助于捕捉正在传输数据的对等计算机。

  3. When the application calls recv or WSARecv , the data is copied from AFD . SYS 's buffers to the application-provided buffer .

    当应用程序调用recv()或WSARecv()函数时,数据将从内部缓冲拷贝到应用程序提供的缓冲区。

  4. It is not enough to just use read ( 2 ) and write ( 2 ), or recv ( 2 ) or send ( 2 ), the moment your socket becomes non-blocking .

    当您的套接字变成非阻塞时,仅使用read(2)和write(2),或recv(2)或者send(2)是不够的。

  5. In this case , you iterate through the contents of the recv aggregate , sum the packet lengths for each tuple ( device name , PID , and process name ), then emit this data .

    在本例中,您将遍历recv聚合的内容、为每个元组(设备名、PID和进程名)相加包的长度,然后发出该数据。

  6. While recv ( a library function used by the process ), recvfrom , and recvmsg operate only on socket descriptor , read and readv can operate on any kind of descriptor .

    尽管recv(进程使用的库函数)、recvfrom和recvmsg仅可以对套接字描述符操作,但read和readv可以对任何种类的描述符操作。