Experimental Physics and Industrial Control System
|
Hi,
I’m getting osiSockTest failures with epics 7 when I run it locally on my windows desktop. The issue seems to be that in udpSockFanoutTestRx() a UDP packet is picked up from the main network (looks to be from our gateway on the same subnet)
and this packet is too big for the buffer passed to recvfrom() resulting in recvfrom() returning WSAEMSGSIZE and the test terminating early. This can be fixed by either changing the error check to be:
if(n<0 && SOCKERRNO !=
SOCK_EMSGSIZE) {
(with SOCK_EMSGSIZE =
WSAEMSGSIZE on WIN32, EMSGSIZE elsewhere)
or by increasing the size of the body part of the CASearch structure – it looks like the entire structure would currently need to be at least 1024 bytes for packets on our network.
Regards,
Freddie
This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation (UKRI) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UKRI does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. Opinions, conclusions or other information in this message and attachments that are not related directly to UKRI business are solely those of the author and do not represent the views of UKRI.
|
- Replies:
- Re: osiSockTest fail on WIN32 Michael Davidsaver via Core-talk
- Re: osiSockTest fail on WIN32 Michael Davidsaver via Core-talk
- Navigate by Date:
- Prev:
Build failed in Jenkins: epics-base-3.15-win32 #505 APS Jenkins via Core-talk
- Next:
Jenkins build is back to normal : epics-base-3.15-win32 #506 APS Jenkins via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
- Navigate by Thread:
- Prev:
Jenkins build is back to normal : epics-base-3.15-win32 #506 APS Jenkins via Core-talk
- Next:
Re: osiSockTest fail on WIN32 Michael Davidsaver via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
|
ANJ, 01 Jul 2021 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|