| BOOL WINAPI ImapIsWritable( |
| |
HCLIENT hClient, |
|
| |
INT nTimeout |
|
| ); |
The ImapIsWritable function is used to determine if data
can be written to the server.
Parameters
- hClient
- Handle to the client session.
- nTimeout
- Timeout for server response, in seconds. A value of zero
specifies that the connection should be polled without blocking the
current thread.
Return Value
If the client can write data to the server within the
specified timeout period, the function returns a non-zero value. If
the client cannot write any data, the function returns zero.
Remarks
Although this function can be used to determine if some amount of
data can be sent to the remote process it does not indicate the
amount of data that can be written without blocking the client. In
most cases, it is recommended that large amounts of data be broken
into smaller logical blocks, typically some multiple of 512 bytes in
length.
Requirements
Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: csmapv12.lib
See Also
|