DHCP socket

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
outstripp
Posts: 9
Joined: Fri Dec 05, 2008 4:32 am

DHCP socket

Post by outstripp » Fri Dec 05, 2008 4:34 am

is it possible to open a socket to a DHCP address on *another* LAN?
outstripp

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Fri Dec 05, 2008 6:18 am

In theory, yes - but the IT administrator on the "receiving" side may have some work to do in the router configuration, binding the chosen port to a particular computer.

Unless you connect both clients to a central server with a fixed IP-address, and setup your own protocol to exchange data from one client to another. In this scenario, the server application would simply be forwarding incoming data to the chosen connected client.

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

outstripp
Posts: 9
Joined: Fri Dec 05, 2008 4:32 am

dhcp socket

Post by outstripp » Sat Dec 06, 2008 3:23 am

i have confirmed that opening a socket to another Mac on the same Airport (using 10.1.0.xx) works.

If you know the dhcp address of a computer on a different Airport with a different IP number, i was wondering if there wasn't some way of appending the dhcp address to the IP address (like 163.143.123.111:10.1.0.99) so the Airport knows which machine you want to connect to?

How does apple push mail to an ipod touch?
outstripp

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Sat Dec 06, 2008 7:40 am

Apple probably combines different approaches to 'push' emails. There's the Zeroconf network protocol for registering and discovering named services on a network. It is also possible that the iPod Touch actually tells the mail server from time to time where it is.

Or they took a page out of the old web 'push' technology and actually faked it by making the client connect at regular intervals. But in general, you can't really combine the internal ip address of the computer with the external ip address of the network and get it to work right away.

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

jenelia
Posts: 2
Joined: Sat May 30, 2009 9:18 am

Post by jenelia » Sat May 30, 2009 9:22 am

Destination Website is the website that people visited immediately after searching on the keyword "failed to create dhcp socket".
__________
bsn nutrition
White Pages

Post Reply