Time

“Time is a created thing. To say ‘I don’t have time,’ is like saying, ‘I don’t want to.’” – Lao Tzu

RTMFP, where did all my neighbors go?

So while RTMFP is great for peer to peer connections, it does have some considerations that you need to take into account when using it. The biggest, knowing when peers connect and disconnect to the app.

When a peer connects, the app will receive a NetStatusEvent. The event’s info.code will be a “NetGroup.Neighbor.Connect”. You can use the info.neighbor as a unique identifier for the connected peer.

The nice thing, is if a peer comes in late to the p2p party, as soon as a peer sends a message that is received by yours, then the connect event will be fired. So you’ll always have a list of peers that have connected to your client.

When a peer needs to disconnect, it should call the NetGroup’s close() method. This will send out a packet letting all other peers know that it has disconnected.

The interesting thing is, this is RTMFP, so not all packets will get to all peers. So what happens if your client doesn’t receive the disconnect packet? How do you know that your list of connected peers isn’t stale? Good question. One I don’t yet have an answer to. So if any of you do, please let me know.

Communication

For a while now I’ve been thinking on communication. How, despite my father being a professor of communication for all of my life, I don’t seem to be an expert in it. In some cases, I’m not good at it at all. This is definitely my failing, not my father’s, just trying to put things in perspective here.

I am fine when it comes to speaking and talking with groups of friends. I am even ok when it comes to strangers, as long as I know what the heck I am talking about. If I don’t, then I use the old adage of “It is better to keep silent and be thought a fool than to speak and remove all doubt.” I learn a lot by listening to others, and will eventually catch up.

The issue that I have been ruminating on lately though, is that of keeping up communication. I’ve always said I am bad at selling myself, when I was freelancing especially. A good part of that is keeping up communication.

So in an effort to be better at communicating, I will be restoring my previous efforts of posting to the blog. They will most likely be in audio format, since I have more time to record my thoughts than I do to type them.

The content of the podcast postings will be fairly random, but mostly be on the topics of: flash/flex and mobile development, writing, and perhaps some other bits and pieces from my life.

This is an effort to increase my communication skills, so if you like it, great. If you don’t then let me know.

A few other things that I will be doing to increase my communication with family, friends, and colleagues is to email or phone more regularly, to respond to their communications more frequently and in a more timely manner, and… well, I need some help on the rest. That’s why I’m posting, and doing this navel gazing introspection, right?

Twitter Updates for 2008-05-07

Powered by Twitter Tools.