EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Using Async driver in linux to sent UDP broadcast message
From: "Bruins, Stefan" <[email protected]>
To: "'[email protected]'" <[email protected]>
Date: Fri, 13 Jan 2006 12:34:18 +0100
For an application it is necessary to sent UDP broadcast messages. When
configuring the st.cmd file for the startup of the IOC as following:

	drvAsynIPPortConfigure("L0","10.255.255.255:503 udp",0,0,0)

I get the following error from the epics shell:

	Can't connect to 10.255.255.255:503 udp: Permission denied 15121872
autoConnect could not connect

A search through google suggested that setsockopt maybe has to be configured
different. Unfortunately there is no asynSetOption associated with TCP/IP or
UDP/IP.

When searching through the asyn source code a found a few calls of this
function in the "drvAsynIPPort.c". It is not clear for me if this is the
solution and where to change it because all the function calls have
IPPROTO_TCP as an argument while I am using UDP. 

My question is how the communication can be arranged.

Navigate by Date:
Prev: Re: vxStats Benjamin Franksen
Next: Re: EPICS CA security with the motorRecord? Martin L. Smith
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS CA security with the motorRecord? Martin L. Smith
Next: RE: Using Async driver in linux to sent UDP broadcast message Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·