1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 <2004> 2005 2006 2007 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 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: blockingSockTest.cpp Compiling error |
From: | Andrew Johnson <[email protected]> |
To: | guobao shen <[email protected]> |
Cc: | [email protected] |
Date: | Thu, 10 Jun 2004 09:55:40 -0500 |
When I try to compile R3.14.6 against Tornado2.2/vxWorks5.5, there are 2 errors about the socket functions, connect() and bind() in blockingSockTest.cpp file.
.../blockingSockTest.cpp: In method `clientCircuit::clientCircuit(const address &)': .../blockingSockTest.cpp:130: passing `const sockaddr *' as argument 2 of `connect(int, sockaddr *, int)' discards qualifiers .../blockingSockTest.cpp: In method `server::server(const address &)': .../blockingSockTest.cpp:160: passing `const sockaddr *' as argument 2 of `bind(int, sockaddr *, int)' discards qualifiers .../blockingSockTest.cpp: In function `void blockingSockTest()': .../blockingSockTest.cpp:210: warning: unused variable `class server srv'
- Andrew -- Dear God, I didn't think orange went with purple until I saw the sunset you made last night. That was really cool. - Caro