Hi Jan I am using rt_socket_setsockopt in user space (lxrt), it seems that RT_SO_TIMEOUT only supports kernel mode. Is this definite ?
Thanks Bret On Fri, 18 Jun 2004, Jan Kiszka wrote: > Bret Yen-Ting Lin wrote: > > > Hi Jan > > > > I am currently trying to just write a client/server for a robot device > > and would has to initially send something from client to the > > server and guarantee its arrival ( handshake for crucial data). Has RTnet > > got any function that allows user to do timeouts for recvfrom or anything > > for basic checks. > > > > Default behaviour of all receive functions is to block until message > arrives. You can set a timeout with > > ioctl_rt(sock, RTNET_RTIOC_TIMEOUT, &nanoseconds) > > since version 0.7.0 or > > rt_socket_setsockopt(sock, SOL_SOCKET, RT_SO_TIMEOUT, &timeout, > sizeof(timeout)) > > in earlier versions. > > Jan > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ RTnet-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/rtnet-users

