krishna chaitanya <[EMAIL PROTECTED]> wrote:
>            When we tried the TCP SOCK_STREAM socket in the non-blocking
> mode, the recv() returned  immediately. We were looking for a similar
> behavior from the TIPC sockets too.

Its a bug in your application. You set NONBLOCK for the listen fd,
not for the one returned by accept():
server_tcp.c:
         peer_sd = accept(sd, 0, 0);
[..]
if (XSetNonblockSocket (sd) != 0)
                        ^^^
                        peer_sd

Florian

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
tipc-discussion mailing list
tipc-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tipc-discussion

Reply via email to