All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Heinz-Jürgen Oertel" <oe@port.de>
To: "linux-can@vger.kernel.org" <linux-can@vger.kernel.org>
Cc: "Markus.Golbs@hamm.eu" <Markus.Golbs@hamm.eu>
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 10:38:37 +0000	[thread overview]
Message-ID: <18893683.nzeVR25GSH@uschi> (raw)
In-Reply-To: <2B7735628AAB044EBC7362D10ED87CE2C850BA11F9@haex.Hamm.lokal>

Hello Markus;
(forgot cc: list)
Am Donnerstag, 31. Januar 2013, 09:45:47 schrieben Sie:
> Hello,
> 
> 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.
> 
> thanks and greetings

Short answer:
YES, two or more applications can share one physical interface,
using the same network interface, whether it is can0 or vcan0.

 Best regards
   Heinz-Jürgen Oertel

      parent reply	other threads:[~2013-01-31 10:38 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 ` [Socketcan-users] beginner question: can more than one application use one SocketCAN CAN Interface at the same time?? Marc Kleine-Budde
2013-01-31 10:27   ` Willy Lambert
2013-01-31 10:38 ` Heinz-Jürgen Oertel [this message]

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=18893683.nzeVR25GSH@uschi \
    --to=oe@port.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.