• 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
Re: HTTP server with NetSocket
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTP server with NetSocket


  • Subject: Re: HTTP server with NetSocket
  • From: Pierre Chatel <email@hidden>
  • Date: Wed, 18 May 2005 18:56:58 -0300

Thanks Frank,

if it's a bug with NetSocket, it explains everything. But having to rewrite for AsyncSocket ... :(

Pierre

On 18 mai 05, at 17:12, Frank Illenberger wrote:


Hi Pierre,

this seems to be a bug with NetSocket and Tiger. It works fine under Panther. I switched to AsyncSocket and I am having no problems at all with large transfers.


Frank




following my post asking for a lightweight embeddable http server,
thanks for all the answer btw :-), i decided to implement it myself
using NetSocket.
It's working pretty well for the rss/xml part, but i need to make
file transfers with the http/1.0 protocol. It's working for very
small files. But all others are truncated. The biggest chunk of data
i managed to download was 60~80Kb. So maybe i'm missing something
with netsocket or with the http protocol.
Here is an extract of the code i'm using to respond to the GET method
for a file:


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden





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

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: HTTP server with NetSocket (From: Frank Illenberger <email@hidden>)

  • Prev by Date: Re: How best to archive in CSV format
  • Next by Date: Re: How best to archive in CSV format
  • Previous by thread: Re: HTTP server with NetSocket
  • Next by thread: NEWBIE: Why use protocols?
  • Index(es):
    • Date
    • Thread