discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GSFileHandler question


From: Michael St.Claire
Subject: GSFileHandler question
Date: Tue, 18 Nov 2008 14:36:20 -0800

I am using GSFileHandler to read and write from sockets. I am trying to use inline zlib compression for the handle.  I have tested that my libraries were built with zlib and they were. When I init the handler (and before I call the acceptConnectionInBackgroundAndNotify method), I can test it with [handler hasCompression] and it does return true. According to the source, that is when the gzDescriptor is created.

That being said, the handler is still not compressing inline. Does the hasCompression method need to be called at another point in time?

I have tried the hasCompression method prior to calling the readInBackgroundAndNotify & writeInBackgroundAndNotify and it is returning false because (readOK == YES && writeOK == YES)

Any ideas?

Thank you

Michael St.Claire



Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]