It didn't take much... the main problem was that the
keepalive was using the writeByte method that sent a
single byte without using the SSL socket. After you
send 4, it causes a reset which drops the connection.
I fixed writeByte, writeWord, and writeLong.
I also changed the SSL context to TLSv1, and modified
the startup and shutdown calls slightly to what at
least appeared to be "more correct".
It seems to be stable, I've used it for several hours
now with my SSL-only jabber server.
Warning: I'm not an Objective C programmer. :)
Nobody/Anonymous
None
None
Public
| Filename | Description | Download |
|---|---|---|
| JFSocket.m | new JFSocket.m | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 33399: JFSocket.m | 2002-10-18 16:56 | atomicpunk |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use