• 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
TCP connection between Obj-C and java program
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TCP connection between Obj-C and java program


  • Subject: TCP connection between Obj-C and java program
  • From: "Wan, Nathan (CIV)" <email@hidden>
  • Date: Thu, 3 Jul 2008 18:57:40 -0700
  • Thread-topic: TCP connection between Obj-C and java program

Title: TCP connection between Obj-C and java program

hi all,

I need to make some TCP packet transfers from a mac mini to another computer somewhere else on the internet.  I was considering using java because it's relatively portable and easy to implement a simple server with java.net.ServerSocket class.  I'll just be logging the data to a file for now.  On the mac side, it seems like the appropriate class to use is NSStream, but seeing the CocoaEcho example, it seems they are using CFSocket where everything can be done in NSStream, as documented in http://developer.apple.com/documentation/Cocoa/Conceptual/Streams/Streams.html.  Am I wrong?  Is my entire approach flawed?

Thanks for helping a newb

Nathan

 _______________________________________________
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

  • Follow-Ups:
    • Re: TCP connection between Obj-C and java program
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: join wifi network
  • Next by Date: TCP connection between Obj-C and java program
  • Previous by thread: Re: join wifi network
  • Next by thread: Re: TCP connection between Obj-C and java program
  • Index(es):
    • Date
    • Thread