>Hello
>
>I wrote one program using sockets. Now i think that the program can't send
>the data inmediately. ( i had been used write )
>
>Someone can tell me how to force at the operating system in to send the
>data in inmediately way?
>
>Thanks for your help!!!
>
>"The net is working"
> Miguel de Icaza
>
>John Sanabria
>Ingeniero de Sistemas
>Universidad del Valle
>Cali, Colombia
>
assuming you are using TCP sockets:
man setsockopt
man tcp
and this gives you
int just_say_no = 1;
setsockopt (s, IPPROTO_TCP, (void*)&just_say_no, sizeof(just_say_no));
-jason
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]