Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help with NetSocket



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:
> http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
> 
> 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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >help with NetSocket (From: André Lind <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.