[Help-gnutls] Need help

Rupert Kittinger-Sereinig rks at mur.at
Wed Aug 2 22:19:25 CEST 2006


nilanjans at condornetworks.com schrieb:
> Hi Rupert,
> 
> Thank you for your help.
> 
> Libgcrypt is installed. I am using POSIX threds, and followed the link 
> for "Multi-threaded applications". Using "gcry_control 
> (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);", the SIGABRT (signal 6), is 
> not coming in load condition(high TPS).
> 
> But now I am getting differnt problem.
> In load(I am sending continuous packets from my simulator, in some moderate 
> load), after some time, the gnuTLS session getting "INVALID". In sending time 
> (I am using the gnuTLS api gnutls_record_send), it returns error code (-10)
> ="Socket operation on non-socket".
> 
> If you have any hints for this problem, please write me. DO I need to enable 
> (or set) some options for load?
> 
> Thanks in advance.
> Regards,
> Nilanjan
>  

does not sound like a gnutls problem to me. Probably you messed up the 
file descriptors somewhere.

If your are using linux, the easiest way to find out is probably to run 
the whole application with strace, which will show you all the system 
calls with parameters and results.

good luck,
Rupert

-- 
Rupert Kittinger-Sereinig <rks at mur.at>
Krenngasse 32
A-8010 Graz
Austria






More information about the Gnutls-help mailing list