On Feb 10, 2009, at 7:44 PM, gumbo...@mac.com wrote:
I currently have a RealBasic application that manages a furnace
temperature controller. Using the TCPSocket class in RB the app
listens to a port and I can query this application from other
computers on the LAN and set parameters of the temperature
controller, by passing strings.
What I would like to be able to do, is the same thing from my iPhone
with a Cocoa application. I have only 3 years experience with Cocoa
and none with network comms.
Can someone please explain what would be the best way to achieve
this and where I should start reading.
You can use NSStream objects, obtained from
+getStreamsToHost:port:inputStream:outputStream:.
See the Stream Programming Guide for Cocoa:
http://developer.apple.com/documentation/Cocoa/Conceptual/Streams/
Cheers,
Ken
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com