From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <505C3CA8.5090307@bollue.de> Date: Fri, 21 Sep 2012 12:08:40 +0200 From: Kai Bollue MIME-Version: 1.0 References: <1347634862.78737.YahooMailNeo@web29605.mail.ird.yahoo.com> <505C3A52.9050107@bollue.de> <505C3B2D.3080701@xenomai.org> In-Reply-To: <505C3B2D.3080701@xenomai.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] Context Switch with rtnet List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix Cc: xenomai@xenomai.org On 21.09.2012 12:02, Gilles Chanteperdrix wrote: > On 09/21/2012 11:58 AM, Kai Bollue wrote: >> On 14.09.2012 17:01, Franz Engel wrote: >>> Hi, >>> >>> I've a little problem. I'm using the rtnet.h-header and the following function: >>> ret = recvfrom ( ethernetConnection.sock, &recBuffer, sizeof ( recBuffer ),0, ( struct sockaddr * ) ðernetConnection.dest_addr,&destlen ); >> Hi, >> >> stupid question: But you do use an rtnet socket, not a normal one, do >> you? In this case, shouldn't it be rt_dev_recvfrom(...)? > When using the posix skin, recvfrom is substituted at compilation (or > more exactly link-edit) time with __wrap_recvfrom, implemented in > libpthread_rt.so, allowing to work with real-time sockets. > Ah, sorry, I missed that. Kai