> Maybe you were also a little quick with your code. You don't really
> test what's going on, so your code is going crazy.
It demonstrates the difference in the behaviour of this select(),
recvfrom(), send() construct under linux and windows fairly well doesn't
it. I apologize if my unsophisticate
Hi,
actually you were right, I was a bit too quick with my extract. It didn't
contain an important line. I'm also sending out stuff through that socket.
So here it goes, you can copy paste and compile this.
#include
#include
#include
#include
#include
#include
#include
#include
#include
Hello,
I observed some strange behaviour on Windows when I was using a select()
and recvfrom() combination to implement a socket listening behaviour with
timeout. Here is an extract from a test program.
struct timeval tv;
while(1)
{
tv.tv_sec = 0;
tv.tv_usec = 0.001*100;
// The ac
3 matches
Mail list logo