Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TheYankees1903

macrumors regular
Original poster
Jan 23, 2008
150
0
I am trying to write a program that will take the EDGE connection on the iPhone and output them via the WiFi card in the iPhone so that it can be shared with other devices...

I am not really sure how to do this or where to begin...

Can someone please help me? Is it simple enough that someone could write it for me so that I could simply refine it.

I could really use a helping hand.

Please Help,
TheYankees1903 :apple:
 

TheYankees1903

macrumors regular
Original poster
Jan 23, 2008
150
0
Let Me Explain Again


I am trying to write a program for the iPhone which does the following:

1) Take in the EDGE (or 3G in the Future) Internet Connection
2) Output that connection through the WiFi card on the iPhone

This would allow multiple devices to connect to that internet through WiFi such as:

1) Laptop
2) Desktop
3) PS3
4) iPod Touch
5) etc.

So can some one please help me do this or write the application for me so I can refine the program to learn about the iPhone SDK.

Please Help,
TheYankees1903 :apple:
 

Spanky Deluxe

macrumors demi-god
Mar 17, 2005
5,285
1,789
London, UK
Wasn't this done months ago when the iPhone was first hacked? Its not allowed by Apple though so will probably be blocked somehow in the devkit.
 

drivefast

macrumors regular
Mar 13, 2008
128
0
mmm... not so sure apple blocks it as it is now, other than probably asking you not to do it in their terms and conditions. but you have sockets, streams, and the possibility to discriminate between an edge and a wifi connection, so i think a bridge or a proxy is technically possible.
 

TheYankees1903

macrumors regular
Original poster
Jan 23, 2008
150
0
That is tethering

You mean this?

Old news.

Found it on this forum too:
https://forums.macrumors.com/threads/417001/

This application is for tethering... I want one to use it as a WiFi hotspot... I looked into it and Apple does not specifically block it but even if they do I can still use it for myself... Could someone please type up a few quick lines of code to make the app for me... I want to then be able to play around with the code... I don't know (but want to learn) objective C.

Please Help,
TheYankees1903 :apple:
 

drivefast

macrumors regular
Mar 13, 2008
128
0
it's, umm... quite some more code than you think. you could be a lot more helpful if you can type up a few quick lines that more accurately describe what you are trying to do. like - what ports need to be forwarded? what kind of protocols do you want implemented? how do you deal with website cookies? and so on.

to begin doing it yourself, you can look at the "getting started with networking and internet" topic on the iphone dev center website.
 

TheYankees1903

macrumors regular
Original poster
Jan 23, 2008
150
0
Um...

it's, umm... quite some more code than you think. you could be a lot more helpful if you can type up a few quick lines that more accurately describe what you are trying to do. like - what ports need to be forwarded? what kind of protocols do you want implemented? how do you deal with website cookies? and so on.

to begin doing it yourself, you can look at the "getting started with networking and internet" topic on the iphone dev center website.

I really appreciate the help but I have no idea what I am doing. I am just now learning intro to java and have completed intro to C++ but I am not really sure what to do...

Can anyone help me with this information you recommend I type up...

This is what I want to do:

I want an app I compile that runs on the iPhone (current or future). I then want this app to take the iPhones cellular internet connectivity (EDGE / 3G) and then reroute that internet connection outward so that multiple Laptops, iPod Touches, Game Systems, etc. can connect to the iPhone to get a good internet connection.

I would imagine this entails having each connected device make requests to the iPhone and then the iPhone granting them and executing the request.

I would also like to be able to eventually make it so that multiple devices can connect and be served at the same time. Of course this will also make it necessary to be able to give each device connected a name to be referred to on the iPhone. This would also make it important to be able to set priorities of which device gets served by the iPhone (a wireless hotspot) first.

I am aware that this may break the rules of the SDK which means that this cannot be on the App Store but that doesn't stop me (a registered developer) from loading the App on my iPhone and running it.

Can someone either post help here or send me their AIM screen name so I can have a live AIM chat with you for help.

I would really appreciate any help!

Please Help,
TheYankes1903 :apple:
 

c0052350

macrumors member
Oct 10, 2003
38
0
no easy task

the op wants to make the iphone into a wireless router which uses edge as the gateway to the world
This is not going to be straight forward and as for someone writing a "few" lines of code for you good luck
 

operator207

macrumors 6502
Jul 24, 2007
487
0
This application is for tethering... I want one to use it as a WiFi hotspot... I looked into it and Apple does not specifically block it but even if they do I can still use it for myself... Could someone please type up a few quick lines of code to make the app for me... I want to then be able to play around with the code... I don't know (but want to learn) objective C.

Please Help,
TheYankees1903 :apple:

Somewhat yes, as it uses a adhoc setup. However, it "tethering" via a wireless card, not BT or USB cable. Its the closest thing your gonna find. If you needing it for one laptop, it will work fine. If you need it for multiple laptops, you could probably use it, and a wireless router in WDS mode. I have not tried it, but it should work that way. Then the wireless router in WDS mode would hand out DHCP and act as a hotspot (access point).

I have no reason to make anything like this, I am just trying to help.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.