sending file using CFSocket
sending file using CFSocket
- Subject: sending file using CFSocket
- From: "sunil prajapati" <email@hidden>
- Date: Mon, 9 Jun 2008 15:57:15 +0530
Hi,
I am trying to send the file of any format from my CFSocket based server to my CFSocket based client application.
Until now, I have been sending fairly small amounts of data, so just
putting the bytes into a CDDataRef and sending was enough.
Now, that I need to upload a lot of data, a whole file, the simple
approach probably will not work so well. If I tell CFSocket to send
some smaller amount of data, I need to know when CFSocket is done
uploading (or even just how much it has sent), so I can replenish the
buffer. If some API exists somewhere to help with this, I dont' know
where to find it.
Any help will be appreciable.......
--
Thanks & Regards,
Sunil Prajapati
Software Developer in Macintosh
_______________________________________________
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