EPICS Home

Experimental Physics and Industrial Control System


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

Subject: Listen on UDP socket for device message
From: Jörn Dreyer <[email protected]>
To: [email protected]
Date: Tue, 25 Jul 2017 14:33:20 +0200
Hi,

I have a device, that sends to a dedicated IP address and port combination 
(10.0.0.1:2036) a message at startup. It then expects a message back, 
specifying the port number of the host to send further messages to.
The device is connected to a second ethernet interface of a computer that has 
the 10.0.0.1 address assigned to it.

Can one use drvAsynIPServerPort for that? And if yes how do I connect a 
callbackfuntion, that gets called if there is a connection from my device. I 
need to reset the connection to the device in case of a reset/reboot of the 
device.
To communicate with the device I want to use drvAsynIPPort Which I would open 
in the callback function.

Regards

Jörn

Replies:
RE: Listen on UDP socket for device message Mark Rivers

Navigate by Date:
Prev: Re: Why do I need to prevent looping when deploying CA gateway Andrew Johnson
Next: RE: Listen on UDP socket for device message Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Why do I need to prevent looping when deploying CA gateway Andrew Johnson
Next: RE: Listen on UDP socket for device message Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024