Are you sure the struct timeval should be used as a parameter?
I suppose timeout should be rather passed as int (or unsigned int), in milliseconds:
int nTimeout = 30000; // 30 seconds...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: CodeJack Search: Search took 0.05 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |