EPICS Controls Argonne National Laboratory

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  <20132014  2015  2016  2017  2018  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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: drvAsynIPPort question
From: Sinisa Veseli <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 20 Mar 2013 12:01:51 -0500
Hi,

Does anyone know what is the proper way to destroy tcp socket created via drvAsynIPPortConfigure?

My test client and server use drvAsynIPPortConfigure and drvAsynIPServerPortConfigure from asyn 4-18, and I can connect and exchange data between the two. However, no matter what I try, I am not able to destroy the client socket properly.

I see that connection is closed in asynCommonDisconnect() method (file interfaces/asynOctetSyncIO.c), but it isn't quite clear to me how this method would get called (pasynOctetSyncIO->disconnect() does not seem to do it).


I looked through marCCD.cpp in area detector module (Tim Madden kindly pointed that out as an example), but I only saw pasynOctetSyncIO->connect() being called.


In any case, I would appreciate any pointers, and sorry if I'm missing something obvious...

Thanks,

Sinisa




--
Sinisa Veseli
Software Services Group
APS Engineering Support Division
Argonne National Laboratory
[email protected]
(630)252-9182


Replies:
RE: drvAsynIPPort question Mark Rivers

Navigate by Date:
Prev: RE: User of AsynInt32Array ian.gillingham
Next: delay before alarm on alarm handler James F Ross
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: User of AsynInt32Array ian.gillingham
Next: RE: drvAsynIPPort question Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·