TCP connection between Obj-C and java program
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:56 -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