Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

mac question

8 views
Skip to first unread message

ted.pe...@gmail.com

unread,
May 8, 2013, 4:53:34 PM5/8/13
to
Sry, I didn't see an os.macos.networking.tcp-ip or osx...

I am wondering if it is possible to make a TCP connection from an iPad to a MacBook Pro while the MacBook is not connected to the internet.

I know how to set up the MacBook to create a private wireless network, and have the iPad join it, and then write code to create and use sockets.

It works when Macbook is connected to internet via Ethernet, but when there is no connection it has no IP address. I tried manually assigning it, but iPad cannot see it.

Barry Margolin

unread,
May 9, 2013, 12:07:24 AM5/9/13
to
In article <693e18f4-fe1b-493c...@googlegroups.com>,
ted.pe...@gmail.com wrote:

> Sry, I didn't see an os.macos.networking.tcp-ip or osx...

How about comp.sys.mac.comm?

>
> I am wondering if it is possible to make a TCP connection from an iPad to a
> MacBook Pro while the MacBook is not connected to the internet.
>
> I know how to set up the MacBook to create a private wireless network, and
> have the iPad join it, and then write code to create and use sockets.
>
> It works when Macbook is connected to internet via Ethernet, but when there
> is no connection it has no IP address. I tried manually assigning it, but
> iPad cannot see it.

You assigned the IP to the Ethernet or Airport? You should assign it to
Airport -- Ethernet is irrelevant.

Do you have a wireless router? You can use that to connect them, it
doesn't need to be connected to the Internet.

--
Barry Margolin
Arlington, MA

ted.pe...@gmail.com

unread,
May 9, 2013, 1:36:38 AM5/9/13
to
Thanks. I don't see AirPort. But I leave wifi on, and create a network on the MacBook. It self assigns an IP. I can connect the iPad to the network I created, and the iPAd has an IP address. They have the same subnet mask 255.255.0.0.

But the two devices cannot ping each other's ip address.

glen herrmannsfeldt

unread,
May 9, 2013, 3:41:49 AM5/9/13
to
They should have the same network part of the IP address, which,
given the mask, is the first two octets.

Otherwise, you need a router to connect them.

Easiest is with a wireless router that doesn't have to be connected
to the Internet to assign (DHCP) addresses and allow the two to
communicate with each other.

-- glen

Barry Margolin

unread,
May 9, 2013, 10:12:18 AM5/9/13
to
In article <7dd41c0c-6209-4e8e...@googlegroups.com>,
How did you create the private WiFi network on the MacBook if you
couldn't see AirPort? AirPort is what Macs call their WiFi interface.
0 new messages