libyrmcds
memcached/yrmcds client library for C
 All Data Structures Files Functions Variables Enumerations Enumerator Macros Groups Pages
yrmcds_error yrmcds_set_timeout ( yrmcds c,
int  timeout 
)

Set timeout seconds for send/recv operations.

Parameters
cA pointer to yrmcds.
timeoutSeconds before network operations time out.
Returns
0 if arguments are valid. Other values indicate an error.