From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Markus.Golbs@hamm.eu
Cc: "linux-can@vger.kernel.org" <linux-can@vger.kernel.org>
Subject: Re: [Socketcan-users] beginner question: can more than one application use one SocketCAN CAN Interface at the same time??
Date: Thu, 31 Jan 2013 11:15:37 +0100 [thread overview]
Message-ID: <510A4449.2000706@pengutronix.de> (raw)
In-Reply-To: <2B7735628AAB044EBC7362D10ED87CE2C850BA11F9@haex.Hamm.lokal>
[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]
Hello Markus,
please use linux-can@vger.kernel.org (Cc'ed), as the berlios list is
outdated.
On 01/31/2013 09:45 AM, Markus.Golbs@hamm.eu wrote:
> I’m new by using SocketCAN. The shell communication on an arm board with
> SocketCAN works well, but I’m only use one access task/program to one
> CAN Interface.
>
> My question is, can I use the SocketCAN network Interface from more as
> on application on the same time? I want create two ANCI-C application on
> this board for different functions. The two applications to integrate in
> one, is it not possible. If it possible that both applications use the
> same CAN Interface at the same time? About information I’m very happy.
You can open as many sockets from as many applications to CAN as you
want (until you memory runs out) and send and receive CAN messages.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]
next parent reply other threads:[~2013-01-31 10:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <2B7735628AAB044EBC7362D10ED87CE2C850BA11F9@haex.Hamm.lokal>
2013-01-31 10:15 ` Marc Kleine-Budde [this message]
2013-01-31 10:27 ` [Socketcan-users] beginner question: can more than one application use one SocketCAN CAN Interface at the same time?? Willy Lambert
2013-01-31 10:38 ` Heinz-Jürgen Oertel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=510A4449.2000706@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=Markus.Golbs@hamm.eu \
--cc=linux-can@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).