 |
 |
 |
|
|  |  |
 |
WSARecv ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Receives data from a connected socket. |
 |  | | Code examples: |  | |
|
 |  | | Declaration: |  |  |
int WSARecv(
SOCKET s,
LPWSABUF lpBuffers,
DWORD dwBufferCount,
LPDWORD lpNumberOfBytesRecvd,
LPDWORD lpFlags,
LPWSAOVERLAPPED lpOverlapped,
LPWSAOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
);
|
 |  |  | | FoxPro declaration: |  |  |
DECLARE INTEGER WSARecv IN ws2_32;
INTEGER s,;
STRING @lpBuffers,;
LONG dwBufferCount,;
LONG @lpNumberOfBytesRecvd,;
LONG @lpFlags,;
INTEGER lpOverlapped,;
INTEGER lpCompletionRoutine
|
 |  |  | | Parameters: |  | s
[in] A descriptor identifying a connected socket.
lpBuffers
[in, out] A pointer to an array of WSABUF structures. Each WSABUF structure contains a pointer to a buffer and the length, in bytes, of the buffer.
dwBufferCount
[in] The number of WSABUF structures in the lpBuffers array.
lpNumberOfBytesRecvd
[out] A pointer to the number, in bytes, received by this call if the receive operation completes immediately.
lpFlags
[in, out] A pointer to flags used to modify the behavior of the WSARecv function call. For more information, see the Remarks section.
lpOverlapped
[in] A pointer to a WSAOVERLAPPED structure (ignored for nonoverlapped sockets).
lpCompletionRoutine
[in] A pointer to the completion routine called when the receive operation has been completed (ignored for nonoverlapped sockets).
|
 |  | | Return value: |  | | If no error occurs and the receive operation has completed immediately, WSARecv returns zero. |
 |  | | Word Index links for the WSARecv : |  | |
|
 |  | | Translate this page: |  | |  |  | | • |  | | Created: | 2006-05-15 19:30:12 | | Modified: | 2006-05-15 19:32:07 | Visited in last 7 days: 17 |
|
 |
 |
 |
 |
Copyright © 2001-2013
News2News, Inc.
Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use.
The information on this page is presented AS IS, meaning that you may use it at your own risk.
Microsoft Visual FoxPro
and Windows are trade marks
of Microsoft Corp.
All other trademarks are the property of their respective owners.
Privacy policy
|
 |
 |
 |
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
AceHTML Freeware
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc. |
 |
 |
|
 |
 |
|
|