Hi Sebastian, On Jan 17, 2011, at 4:12 PM, Sebastian Proca wrote:
> It's strange for me how comes that, depending on the specified arguments, I > get two different errors: > > I case : > > # ./dtls_udp_echo 127.0.0.1 > SSL_connect: Connection refused > error:00000000:lib(0):func(0):reason(0) > Unexpected error while writing: 5 > error:00000000:lib(0):func(0):reason(0) > > II case : > > # ./dtls_udp_echo -p 23232 -V 127.0.0.1 > SSL_connect: Connection refused > error:00000000:lib(0):func(0):reason(0) > > Connected to 127.0.0.1 > ------------------------------------------------------------ > Segmentation fault > > Wireshark shows the beginning of dtls negotiation, but it's clear that after > these errors, it stops. > > Does someone know the correct usage of this sample? I'm out of ideas! You probably don't have a server running. Use: ./dtls_udp_echo without any parameters to start a server listening on all available addresses. You can then start a client with: ./dtls_udp_echo 127.0.0.1 All of the examples listed on our website are both server and client. If you specify an address on the command line, it will use it to start a client which connects to it. Otherwise, without an address it will start a server and listen for incoming connections. Best regards Robin ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org