This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
I am running a code cli.cpp
and the code compiles and links cooly but when I run
it, from ./clitest I get the following error.
What can be the possible cause of this and how can it be solved
(I think this socket is not opening as I donot have root
permissions what should I do or ask from the administrator so that
the program runs. Its just a client program using openssl
library)
g++ -I/usr/local/include -c cli.cpp
chhabra@noix{programs} 1024 : g++ cli.o /usr/local/lib/libssl.a
/usr/local/lib/libcrypto.a -o clitest
chhabra@noix{programs} 1025 : ./clitest
connect: Connection refused
Here is the code of the program as an attachment
Thank you very much to all in this group
chhabrashalen
_________________________________________________________
Click below to visit monsterindia.com and review jobs in India or
Abroad
http://monsterindia.rediff.com/jobs
Attachment:
cli.cpp
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |