SSLGetBufferedReadSize problem
SSLGetBufferedReadSize problem
- Subject: SSLGetBufferedReadSize problem
- From: dragana radulovic <email@hidden>
- Date: Thu, 21 Feb 2008 17:34:49 -0500 (EST)
Hi,
I'm implementing a client that uses Secure Transport
API to communicate with the server.
I followed sample code at
http://developer.apple.com/samplecode/SSLSample/
to implement non-blocking socket communication.
I'm having problems with SSLGetBufferedReadSize. After
successful SSLhandshake server sends some data to the
client. SSLGetBufferedReadSize returns zero for the
size of data to be read but If I call SSLRead after
SSLGetBufferedReadSize returns zero my client receives
all the data from the server.
I would really like to use SSLGetBufferedReadSize to
simplify memory allocation.
Any help is appreciated.
I'm using MacBook Pro (10.4.11).
Dragana
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden