FROM : Keary Suska
DATE : Sun Jan 13 18:15:09 2008
on 1/12/08 4:24 PM, <email_removed> purportedly said:
> When I try to send a request to the serve I get no data back...
> However I have no trouble at all communicating with http servers. Any
> way this is my write code:
The difference between http and pop3 is that http is generally
transactional, i.e. in a single connection you send a request and the server
responds. At that point, you (or the server) can close the connection
without concern. This is why http is generally considered stateless. POP,
however, requires a series of request/response transactions on a single
connection.
So the first thing you may want to check is whether you are closing the
connection after the first transaction (request/response), such as in
response to a NSStreamEventEndEncountered.
Best,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
DATE : Sun Jan 13 18:15:09 2008
on 1/12/08 4:24 PM, <email_removed> purportedly said:
> When I try to send a request to the serve I get no data back...
> However I have no trouble at all communicating with http servers. Any
> way this is my write code:
The difference between http and pop3 is that http is generally
transactional, i.e. in a single connection you send a request and the server
responds. At that point, you (or the server) can close the connection
without concern. This is why http is generally considered stateless. POP,
however, requires a series of request/response transactions on a single
connection.
So the first thing you may want to check is whether you are closing the
connection after the first transaction (request/response), such as in
response to a NSStreamEventEndEncountered.
Best,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
| Related mails | Author | Date |
|---|---|---|
| Development | Jan 13, 00:24 | |
| Development | Jan 13, 02:16 | |
| Andrew Farmer | Jan 13, 02:36 | |
| Brady Duga | Jan 13, 02:51 | |
| Keary Suska | Jan 13, 18:15 | |
| Development | Jan 13, 20:19 | |
| Development | Jan 13, 23:41 | |
| Andrew Farmer | Jan 14, 00:12 | |
| Ryan Homer | Jan 14, 14:28 |






Cocoa mail archive

