P2P Networking with Rendezvous and iChat
by Derrick Story08/28/2002
By now you've probably figured out that you can't reenact the famous iTunes/Rendezvous demonstration until the next release of iTunes--there'll be no play-list sharing for a few months yet. So what the heck can you do with Rendezvous in the meantime?
Actually, thanks to the iChat client included in Jaguar, quite a bit, including setting up a powerful peer-to-peer network. Here's a quick overview of instant messaging and file sharing via Rendezvous (to help you pass the time until the next release of iTunes).
Why Use Rendezvous Instead of AIM?
You might be thinking, "I'm already using AIM, MSN, or Yahoo, why should I care about Rendezvous?"
Well, a couple of reasons come to mind. First of all, Rendezvous is pure peer-to-peer communication; AIM is not. You don't need that big AIM server off in the cloud somewhere to enable (or disable as so often happens) your communication. In the business environment, your system administrator should feel a lot better about you communicating with your co-workers on a local, secure network, as opposed to going outside the firewall then back in. Second, Rendezvous is fast. The lightning speed of the exchanges is a relief compared to the sluggish conversations we've all experienced with AIM.
You can use the iChat client for AIM exchanges too, but I'm not using it at this point. I like reserving iChat for pure P2P networking. If I do use AIM, then I launch Adium, which is a terrific AIM client for Mac OS X.
So, how do you set up iChat for peer-to-peer networking? Let's get to it.
iChat Over an Established Local Network
Communication over your corporate LAN isn't quite as exciting as the ad hoc network in the next section, but in the business environment it's probably more practical. You can also add AirPort to this setup for more flexibility, but remember to enable WEP or some other security.
First, make sure that you and your mates are tapping into the same local network. Then open Address Book and create an entry for yourself. (Take a walk on the wild side and add a picture to your record too.) iChat uses this information and image to identify you to others.
|
|
Launch iChat and open the Preferences panel. Click the "Accounts" icon at the top. Look for "Rendezvous Messaging" and click the box that reads "Enable local network messaging." Close Preferences, and you're set. All you need now is someone else to launch iChat, and your Mac will "discover" that person and display them in your Rendezvous buddy list. Start talking!
|
|
iChat Over an Ad Hoc Peer-to-Peer Network
Logging on to an established network is fine, but what about those laptop situations where there isn't an established 802.11b or hard-wire network available? How are you going to gossip during a staff meeting? Fear not, Jaguar gives you all the tools you need to spread the dirt.
Basically, you set up a peer-to-peer network via 802.11b for Rendezvous to tap into (you'll need an AirPort card to do this). Open your Network Preference Panel and enable AirPort. Click on the AirPort tab and make sure you have the "Allow this computer to create networks" and "Show AirPort status in menu bar" boxes checked. Click "Apply Now" and close System Preferences.
|
|
Now click on the AirPort icon on the Menu Bar to reveal the drop down options. Select "Create Network ..." and you get a Computer to Computer dialogue box. Give your network a name and choose a channel. You can password protect this network, but for iChat that sort of defeats the purpose. Click OK.
Notice that the Menu icon changes from the AirPort reception bars to a little computer. You're in P2P mode! Now, anyone within range can select your ad hoc network from their drop down AirPort menu and connect.
Launch iChat. If anyone else has their client open on the P2P network, then the two computers will discover each other and the names will be listed in the Rendezvous buddy list. Start chatting! That's all there is to it -- no servers, no Internet, no fuss.
Sending Files Via Rendezvous
You can exchange more than just witty dialogue with this P2P set up. You can also send files and pictures to one another.
In your iChat window, click on the paper clip icon, and you'll be presented with a dialog box that lets you navigate to files on your hard drive. Pick a file and click the "Open" button. The icon for the file will be placed in your iChat typing window. You can add text along side the icon, then hit return. Both your message and the file icon (with its name) will show up in your buddy's window. If he wants to download the file, all he has to do is click on its hypertext name and it will instantly download onto his desktop. And I mean instantly.
If he doesn't want to receive the file, then all he has to do is ignore the link and nothing is transferred. If he doesn't want to download the file right at the moment, he can go back and retrieve it later, as long as the network is still viable and both chat windows are open.
Final Thoughts
At first glance iChat seems like just another IM client. But below that cartoon-like surface is a powerful P2P networking engine. If you're not a big fan of the balloon captions and buddy icons, those can be turned off via the "View" dropdown menu.
I hope this will keep you busy until iTunes and other Rendezvous-enabled applications are available.
Derrick Story is the author of The Photoshop CS4 Companion for Photographers, The Digital Photography Companion, and Digital Photography Hacks, and coauthor of iPhoto: The Missing Manual, with David Pogue. You can follow him on Twitter or visit www.thedigitalstory.com.
Return to the Mac DevCenter.
You must be logged in to the O'Reilly Network to post a talkback.
Showing messages 1 through 17 of 17.
-
Turn Off Firewall
2002-08-28 13:24:38 Derrick Story |
[Reply | View]
If you're having problems sending files via iChat, the first place you should look is in your Sharing Preferences Panel. If the Firewall is turned on, then that could be your problem.
-
Next Stop: Mail.app Integration
2002-08-28 16:54:28 Derrick Story |
[Reply | View]
Another interesting function with iChat is how it can interact with Mail.app, but in AIM mode, not so much in Rendezvous. At least that what preliminary testing shows. (That's why it wasn't included in this piece.)
But in the second installment the focus will be more on using iChat as an AIM client and how there's some nifty integration with Mail.app and Address Book.
-
Apple Laptop Keyboards Unsuitable for Unix Users
2002-09-18 02:17:54 anonymous2 [Reply | View]
Apple laptops are effectively unusable for unix users.
I am a long-time Unix user. That means I need to have the Ctrl key to the left of the A key. This is a genuine need, not merely a want; it is based upon ergonomics. The Ctrl key is heavily used in unix, and it must be easily accessable. It cannot be off in the lower left corner of the keyboard where it is difficult to get at, and where it distorts the position of your left hand such that you can't easily type other keys while holding the Ctrl key down.
Apple desktop keyboards are now all USB. They are all OK. The CapsLock key can be re-mapped into a Ctrl key.
Unfortunately, even in this modern age, all Apple laptops have built-in ADB keyboards. The ADB keyboard is broken-by-design. It is, in general, not possible to remap the CapsLock key into a Ctrl key.
There are some exceptions, but they are horrible kludges. They are
horrible kludges because the original design of the ADB keyboard was a horrible kludge. The correct solution would be for Apple to re-design their laptop motherboards to use built-in USB keyboards. This hasn't happened yet. If you run Linux, use Debian's solution. For Mac OS X users, uControl works. There are no solutions (that I know of) for either NetBSD or OpenBSD. Please note once again that the "solutions" above are in fact kludges, because of the original bad design of the ADB keyboard.
Apple is (currently) ignoring Unix users! This is not merely speculation on my part. In an on-going email exchange I am having with an Apple employee (whom I won't name) in their marketing department, the Apple marketing person directly stated to me that Apple was catering to their historic Mac customers, and is purposely ignoring the Unix market. He also claimed that Apple would soon start paying more attention to the Unix market. I won't hold my breath. Apple has been ignoring Unix users for more than 10 years. I expect that trend to continue. (Also note that my Apple contact indicated that Macs would never ship with a 3-button mouse, even though Apple intended to port almost all X-window software and deliver it either on a CD/DVD or installed directly on each Mac's hard drive. How Unix friendly is a 1-button mouse with X programs that often require 3 buttons?)
Apple has now lost two opportunities to sell me hardware. I really wanted an Apple laptop for their superior battery life, and for the PowerPC with Altivec CPU. (The Altivec is vastly superior to the x86 line for DSP.) Because I can't live with the broken-by-design built-in ADB keyboard in all Apple laptops, Sony and IBM sold me laptops instead. If Apple fixes this problem, they will sell me a PowerBook next year; if they don't, I'll still be running OpenBSD on x86 hardware, and wishing I could use a Mac.
-
...Unsuitable ?
2002-09-23 15:45:30 anonymous2 [Reply | View]
maybe your unsuitable for Macintosh.. get a grip.. whinning about not having the CTRL key where youre use to it is plain stupid..
ive been a mac user long before you were, and i dont care.. and im a Unix user.. ooh.. i suppose if i was british i should complain that the wheel isnt on the right because as a brit person i am a better driver?
do you really think that a Unix user cant figure out?
-
How to use it when talkies are in different zones
2003-01-29 04:41:15 lucnaets [Reply | View]
Everything is fine when both buddies are on the same side of different zones in a network. Anybody, anywhere any idea how to enable this?
-
iChatting across subnets?
2003-04-04 07:41:20 anonymous2 [Reply | View]
I was hoping to see a response to an earlier query. Apparently there is no way to use iChat in a normal enterprise environment consisting of multiple IP subnets. i.e., it seems that a user at IP 192.168.1.x can't iChat with a user at another location using IP 192.168.2.x. (unless both have AIM accounts). Is this a limitation (feature) of the underlying Rendezvous technology?
Marley Graham
Aqua-Flo Supply
mgraham@aquaflo.com
-
talking to windows
2003-04-22 09:57:18 anonymous2 [Reply | View]
IChat is great for macs, but some administrators (like my self) have mixed networks, 70% macs, 30% pc. Any ideas, how I can use rendevous and IChat on my internal network and allow the windows users to talk to the IChat clients without enabling AIM for everyone.
-
URL of download link
2003-05-05 04:23:06 anonymous2 [Reply | View]
Hello,
Can some email me the download link for the Rendezvous P2P iChat application?
Thanks
javaswingus@yahoo.com
-
How to start iChat without having .Mac or AIM?
2003-07-06 14:55:02 anonymous2 [Reply | View]
I'm trying to set up a local network-only iChat session, but when I launch iChat, it won't let me do anything until I sign in with a .Mac or AIM account.
Anyone know how I can get past this login to access the Preferences menu? When I cancel the login iChat just quits.
-
Ichat/Rendezvous problem HELP!!!!!
2004-04-25 05:54:42 studiogeek [Reply | View]
Hi,
I set up 12 inch powerbooks for a band to use on the road (Alisha Keys). They have fallen in love with them and use ichat/rendezvous to communicate while touring. All members Ichat sessions go fine except One member (the drummer Paul), Every time he originates or replies to a message, he gets "booted" and he gets a message that says "paul has left the chat" (immediately after the first message).... I have killed .plist files and replaced all that is iChat (i believe) but this problem persists..... Any ideas?
thank you all in advance....
studiogeek








