help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnutls] Can't compile Echo Server with Anonymous Authentication


From: Rickard Eriksson
Subject: [Help-gnutls] Can't compile Echo Server with Anonymous Authentication
Date: Sun, 08 Feb 2009 10:49:44 +0100
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

Hi

I am trying to compile the Echo Server with Anonymous Authentication but i just get errors.

# gcc -o test main.cpp -lgnutls -lgcrypt
main.cpp: In function 'int main()':
main.cpp:107: error: invalid conversion from 'int*' to 'socklen_t*'
main.cpp:107: error: initializing argument 3 of 'int accept(int, sockaddr*, socklen_t*)'


The box i try to compile it on is a Gentoo linux with net-libs/gnutls version 2.4.1-r2 installed.
What do i do wrong? :)

Attachment: Rickard.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]