Re: Connection Protocol

"Peter Millard" <me-STcBuFROdrv2eFz/[email protected]> Wed, 8 Dec 2004 12:08:20 -0700
Newsgroups gmane.network.jabber.exodus.user
Message-ID <004501c4dd59$4874ab90$e201020a@pmillard2k>
Steven Millington wrote:
>> I'm looking for a way to create a connection to a remote client using a
>> UDP/IP protocol.  Is there any way to either start a connection using UDP/IP
>> or to get the remote users IP address by using the ExodusCOM interfaces?

In short, no :) No one has really asked this before. Jabber (in general) never
allows one entity to discover the IP of a remote entity. If the other remote
user is going to be running your plugin, you could do a simple IQ exchange, and
ask for it. IExodusController DOES allow a plugin to get it's OWN ip.. so when
asked, your plugin could respond, and send the IP out in a result packet.

Adding a COM interface around the socket infrastructure we use sounds kind of
like re-inventing the wheel. Wouldn't it be easier to just use whatever
lang/framework is native to your plugin?

pgm.