Topic: EchoServer gives file open error

Hello everyone.

This is my second post, I removed the previous one.

What i am trying to do is to run minimal example. I want to understand basic API structure and library design of wolfssl, so i tried to run this minimal example:

https://www.wolfssl.com/docs/wolfssl-manual/ch11/

I attached the error with an SS.

Post's attachments

Capture.PNG
Capture.PNG 67.5 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

Share

Re: EchoServer gives file open error

Hi burakkirazli,

You must run the example from the wolfssl-root like:
./examples/echoserver/echoserver

Also you can find some simple TLS examples in our wolfssl-examples repo here:
https://github.com/wolfSSL/wolfssl-examples

Thanks,
David Garske, wolfSSL

Share

Re: EchoServer gives file open error

Hi dgarkse,

As i understand, the tutorial i was trying to run is out of date. I could not make it run.

But, I am working with the examples you adviced to me, thanks. It does same thing.

Best Regards.

Share

Re: EchoServer gives file open error

Hi burakkirazli,

Please go to the directory where you ran your tests and run this command:

ls -la ../certs/ || echo "Directory not found"

Do you see a list of certs displayed or do you see this:

$ ls -la ../certs/ || echo "Directory not found"
ls: ../certs/: No such file or directory
Directory not found

If the directory is not there please copy/paste the certs/ directory from the wolfSSL download to that location and try running the example again, let us know if you continue to have issues.

Warm Regards,

K