Common Driver Model for RTAI

Panagiotis Issaris panagiotis.issaris at mech.kuleuven.ac.be
Fri Jul 1 13:19:55 CEST 2005


Hi,

Op vr, 01-07-2005 te 01:05 +0200, schreef Gilles Chanteperdrix:
> About select/poll: the interface of these call make it hard (seem
> even impossible for poll) to have an implementation with O(1)
> complexity. I do not want to know on how many sockets ACE/TAO is using
> select, but I bet there are a lot. 

By default, there's only one socket used. If you want to, you can have
the CORBA server use multiple sockets.

strace -e select,socket ./servant -ORBEndPoint iiop://127.0.0.1:8000
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 7
./servant is ready
select(8, [5 7], NULL, NULL, NULL


For example, if you want the server to be available on multiple IP
addresses you can f.e. specify multiple endpoints, which will cause it
to use multiple sockets:
strace -e select,socket ./servant -ORBEndPoint iiop://127.0.0.1:8000
-ORBEndPoint iiop://10.33.172.80:6000
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 7
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 8
./servant is ready
select(9, [5 7 8], NULL, NULL, NULL


With friendly regards,
Takis





More information about the Rtai mailing list