Re: help with NetSocket
Re: help with NetSocket
- Subject: Re: help with NetSocket
- From: The Karl Adam <email@hidden>
- Date: Mon, 31 Jan 2005 08:58:28 -0500
I take it you haven't round the -readData: and -writeData: methods on
NetSocket?
That is how you send data back and forth.
You may want to go to the CocoaDev page on it.
-Karl
On Mon, 31 Jan 2005 14:52:41 +0100, André Lind <email@hidden> wrote:
> Hi!
>
> Im trying to send files over a network using NetSocket.
> I´ve got my apps to connect to each other but I just cant get them to
> transfer the files
> the way I want to...
> Should I use NSFileHandle together with NetSockets
> netsocketDataSent:(NetSocket*)inNetSocket and
> netsocket:(NetSocket*)inNetSocket dataAvailable:(unsigned)inAmount ??
>
> or can it be done just using NetSockets instances?? In that case, could
> anyone hint how to do it? My NSFileHandle just wont get my offset in
> file correct :(
>
> André
>
>
> _______________________________________________
> 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
>
>
_______________________________________________
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