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

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

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

  • Prev by Date: help with NetSocket
  • Next by Date: Re: (OT) Helper tool crashing under 10.2.8
  • Previous by thread: help with NetSocket
  • Next by thread: disable black boxes in NSTableView during d'n'd
  • Index(es):
    • Date
    • Thread