|
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
|