I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-01-07 06:36:11-08 by megha in response to 9618
Re: Need help in designing a ssl perl client connecting to ssl ...
Hi, Thanks for your suggestions and I found the issue was the server was not blocking , once I s +et the block option for the server socket it started working. I have couple of questions 1. what apis do I use for reading and writing. As with the Openssl we have SSL_read and SSL_wri +te are there any similar apis in Perl that need to be used to make the secure transaction. 2. I am using sysread for reading the data. I was able to read max of 16k, even if I specify the + size more than 16k. I have even set the socket option for increasing the receive buffer , still s +eeing the same result. I am missing some thing here. the sample code sock->sockopt(SO_RCVBUF,32768); sysread(sock,$res_buf,32768); Max data read was 16k even though the sender is sending more that 16k. If I make multiple reads, I am able to fetch the data properly. Can you please suggest any inputs. My heart felt thanks for all the replies you have given and I greatly appreciate the quick respon +ses from you. Thanks Amar
Direct Responses: 9665 | Write a response