int HRecv

( SOCKET fd, char* szBuf, int iBufLen, int iFlags,
  int iSecond, int iMicroSecond )

receive data from network.

Documentation

receive data from network.

This function is wrapper function of recv and set timeout.

Parameters:
fd - [in] socket
szBuf - [out] buffer to receive
iBufLen - [in] size of szBuf
iFlags - [in] option
iSecond - [in] timeout second.
iMicroSecond - [in] timeout microsecond
Returns:
if success, return length of receiving data. if timeout is occured, return -11. if select error is occured, return SOCKET_ERROR. otherwise return -1.
Author:
Yee Young Han

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.