• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
SSLGetBufferedReadSize problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: [Bonjour] Any mechanism to deal with Aurevoir and re-bonjour?
  • Next by Date: Re: Can I Make a Web Server in 15 Minutes?
  • Previous by thread: Re: Can I Make a Web Server in 15 Minutes?
  • Next by thread: SCDynamicStoreSetValue and proxies
  • Index(es):
    • Date
    • Thread