But when running this program, the connection to the destination socket fails. The program exits after trying to connect to the destination socket with "cannot connect to network".
This must be a problem on your gnu/linux box. A quick paste&paste/compile/run showed no problem on my system. And, furthermore, the connect command on a UDP socket (in contrast to TCP) does not cause any control traffic between sender and receiver.
Apparently we have two problems. One seems to be related to the 3c59x driver. If we connect to other pc's with other drivers, we don't get the error message, at least not at the client side.
$ ./linux_client_for_rt_socket 2222 192.168.0.1 5555 RTnet, simple linux client for LXRT server Creating socket Binding socket Connecting socket Sending... ret = 39 Closing socket
The message is indeed 39 bytes/chars, so this seems ok. However, at the server side the message is not received. Do we need any other modules for this combined linux/lxrt setup to work than the standard modules we used for setting up the simpleclient/simpleserver example?
$ lsmod Module Size Used by Not tainted via-rhine-rt 12300 1 rtnet_lxrt 932 0 (unused) rtnet 56380 0 [via-rhine-rt rtnet_lxrt] rtai_sem 19264 0 [via-rhine-rt rtnet] rtai_lxrt 62649 0 [via-rhine-rt rtnet_lxrt rtnet rtai_sem] rtai_hal 10636 1 [via-rhine-rt rtnet rtai_sem rtai_lxrt] adeos 12736 0 [via-rhine-rt rtnet rtai_sem rtai_lxrt rtai_hal] [...]
What is tcpdump (e.g.) telling you, both on the sender and the receiver side? See README.rtcap for details about capturing on RTnet systems.
Your setup should be ok - as long as you don't need timer services (will not be started by any module you loaded).
Jan
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ RTnet-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/rtnet-users

