Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-15-2010, 04:15 PM   #1 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 3
jamesbeith is on a distinguished road
Default Simple iPhone TCP/IP Socket to send serial/int

I have looked high and low, and still need help!

Create an iPhone application to send the value of a basic NSSlider (eg. 90) to an IP addess (eg. 192.168.0.50) on Port (eg. 600).

I have got it working using NSURLRequest and NSURLConnection but then HTML headers etc are sent as well.
I am after just a simple TCP/IP kind of connection sending just the value of the NSSlider.

It needs to be super simple and I'm still a super newbie.

Any help would be much appreciated!
A ZIP of source code would be a life saver!
jamesbeith is offline   Reply With Quote
Old 01-15-2010, 04:47 PM   #2 (permalink)
Nuisance Developer
 
Join Date: Jul 2009
Location: Italy
Posts: 4,691
dany_dev is on a distinguished road
Default

googling i found it:
Socket communication on the iPhone - Mobile Development Wiki
dany_dev is offline   Reply With Quote
Old 01-15-2010, 06:21 PM   #3 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 3
jamesbeith is on a distinguished road
Default

Quote:
Originally Posted by dany88 View Post
Yer I had already tried that, but didn't have any luck.
If anyone knew how to get it working that would be much appreciated!
jamesbeith is offline   Reply With Quote
Old 12-22-2010, 09:27 PM   #4 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 20
ossama is on a distinguished road
Default

James,

Any luck with the tcp socket/slider
sounds like excatly what i want?
ossama is offline   Reply With Quote
Old 11-02-2011, 06:58 AM   #5 (permalink)
Registered Member
 
Join Date: Aug 2011
Location: Philippines/France
Posts: 7
Breneer is on a distinguished road
Default

Quote:
Originally Posted by ossama View Post
James,

Any luck with the tcp socket/slider
sounds like excatly what i want?
Any result?
Breneer is offline   Reply With Quote
Reply

Bookmarks

Tags
socket, tcp/ip

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 332
9 members and 323 guests
2Apps1Day, akacaj, Domele, michelle, NSString, SLIC, soohyun, Techgirl-52, v1n2e7t
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,650
Threads: 94,114
Posts: 402,886
Top Poster: BrianSlick (7,990)
Welcome to our newest member, soohyun
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:02 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0