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  <20102011  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  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Client failed to connect to local server on VxWorks and Pharlap
From: "Jeff Hill" <[email protected]>
To: <[email protected]>, <[email protected]>
Date: Fri, 22 Oct 2010 13:52:23 -0600

Ø  Do you have any clue what the issue might be?

 

Which server is in use?

o portable server library, standalone from an IOC (PCAS)

o original server, embedded in an IOC (rsrv)

 

The PCAS is more flexible in its configuration for which network interfaces it will receive connection request from (details are in the ca reference manual), but the rsrv server has a fixed configuration always receiving connection requests from all interfaces.

 

Also, whether a search broadcast sent out by clients over one of the local network interfaces will be seen by servers on the local host or not is part of the routing/loopback policy for the local os.

 

Furthermore, the ca client library typically sends search messages to the broadcast addresses of each LAN that is attached by default, but this can be changed with configuration (see the ca reference manual). By default, the client library builds its search address list by interrogating the network interfaces (see the code in libCom/osi/osd/default/osdNetIntf.c).

 

Jeff


______________________________________________________
Jeffrey O. Hill           Email       
[email protected]
LANL MS H820              Voice        505 665 1831
Los Alamos NM 87545 USA   FAX          505 665 5107

 

Message content: TSPA

 

From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: Thursday, October 21, 2010 10:35 PM
To: [email protected]
Subject: Client failed to connect to local server on VxWorks and Pharlap

 


Hi All,

I wrote an EPICS Server and an EPICS Client based on EPICS Base. They work well on Windows platform. Now I'm porting them to VxWorks and Pharlap.

During porting, I found the issue that, if the client and server are on a single host (no matter VxWorks or Pharlap), the connection couldn't be established. Please refer to the table below.

Senario

Result

Server on Windows, Client on VxWorks/Pharlap

Function well.

Server on VxWorks/Pharlap, Client on Windows

Function well.

Server on VxWorks, Client on Pharlap

Function well.

Server on Pharlap, Client on VxWorks

Function well.

Both on Windows

Function well.

Both on VxWorks

Cannot connect.

Both on Pharlap

Cannot connect.



At the time the issue happens, I can create a client on a different platform to successfully connect to/communicate with the issuing server, I can also point the issuing client to connect to/communicate with another server on a different platform.

Do you have any clue what the issue might be?

Please let me know.

Thanks a lot in advance.

Lorna Zhang
National Instruments Shanghai
Tel: 86-21-50509810-3230


References:
Client failed to connect to local server on VxWorks and Pharlap lorna . zhang

Navigate by Date:
Prev: RE:RE: cross-gcc-2.9.6 problem 王林
Next: R3.14.12-rc1 delayed Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Client failed to connect to local server on VxWorks and Pharlap Andrew Johnson
Next: R3.14.12-rc1 delayed Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 22 Oct 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·