 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Alistair George Guest
|
Posted: Thu Feb 17, 2005 2:45 am Post subject: VOIP programmers - info please |
|
|
Hi all.
I want to use some comms utils to build up a voip (using pref speex as
the default codec).
The problem I have is I dont know enough about VOIP and want a tip or
two on how to find a desired client.
What I want to be able to do is to find a user by using a nickname with
the software. For example, instead of entering an IP address, the system
searches for a Nickname 'somewhere'. I would guess that the likes of
Skype and Messenger use a web server to provide the nickname data, which
in turn provides the IP address of the desired client.
However, is it feasible to do the search without a web server?
Perhaps if desired users name is 'Alistair' and he is online could we do
a search under that condition or what?
Thanks vm.
Alistair+
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
|
|
| Back to top |
|
 |
Nicholas Sherlock Guest
|
Posted: Thu Feb 17, 2005 4:25 am Post subject: Re: VOIP programmers - info please |
|
|
Alistair George wrote:
| Quote: | What I want to be able to do is to find a user by using a nickname with
the software. For example, instead of entering an IP address, the system
searches for a Nickname 'somewhere'. I would guess that the likes of
Skype and Messenger use a web server to provide the nickname data, which
in turn provides the IP address of the desired client.
However, is it feasible to do the search without a web server?
|
No. You need a central server. Period.
Cheers,
Nicholas Sherlock
|
|
| Back to top |
|
 |
Maarten Wiltink Guest
|
Posted: Thu Feb 17, 2005 4:24 pm Post subject: Re: VOIP programmers - info please |
|
|
"Nicholas Sherlock" <n_sherlock (AT) hotmail (DOT) com> wrote
| Quote: | Alistair George wrote:
What I want to be able to do is to find a user by using a nickname
with the software. For example, instead of entering an IP address,
the system searches for a Nickname 'somewhere'. I would guess that
the likes of Skype and Messenger use a web server to provide the
nickname data, which in turn provides the IP address of the desired
client. However, is it feasible to do the search without a web server?
No. You need a central server. Period.
|
Comma. Or broadcast into tuple space. Or query your neighbourhood in a
loosely coupled recursing collective. Peer-to-peer networking, y'know.
Groetjes,
Maarten Wiltink
|
|
| Back to top |
|
 |
Alistair George Guest
|
Posted: Thu Feb 17, 2005 6:41 pm Post subject: Re: VOIP programmers - info please |
|
|
Maarten Wiltink wrote:
| Quote: | "Nicholas Sherlock" <n_sherlock (AT) hotmail (DOT) com> wrote in message
news:cv16ck$qqe$3 (AT) lust (DOT) ihug.co.nz...
Alistair George wrote:
What I want to be able to do is to find a user by using a nickname
with the software. For example, instead of entering an IP address,
the system searches for a Nickname 'somewhere'. I would guess that
the likes of Skype and Messenger use a web server to provide the
nickname data, which in turn provides the IP address of the desired
client. However, is it feasible to do the search without a web server?
No. You need a central server. Period.
Comma. Or broadcast into tuple space. Or query your neighbourhood in a
loosely coupled recursing collective. Peer-to-peer networking, y'know.
Groetjes,
Maarten Wiltink
Sorry Maarten, Please expand a bit: |
Broadcast into tuple space?
How to query the neighbourhood when you dont know their IP?
There must be faq somewhere to give that information but I have not
found it.
Thanks,
Al+
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
|
|
| Back to top |
|
 |
Nicholas Sherlock Guest
|
Posted: Thu Feb 17, 2005 7:13 pm Post subject: Re: VOIP programmers - info please |
|
|
Maarten Wiltink wrote:
| Quote: | "Nicholas Sherlock" <n_sherlock (AT) hotmail (DOT) com> wrote in message
news:cv16ck$qqe$3 (AT) lust (DOT) ihug.co.nz...
Alistair George wrote:
What I want to be able to do is to find a user by using a nickname
with the software. For example, instead of entering an IP address,
the system searches for a Nickname 'somewhere'. I would guess that
the likes of Skype and Messenger use a web server to provide the
nickname data, which in turn provides the IP address of the desired
client. However, is it feasible to do the search without a web server?
No. You need a central server. Period.
Comma. Or broadcast into tuple space. Or query your neighbourhood in a
loosely coupled recursing collective. Peer-to-peer networking, y'know.
|
You mean like this:
var ip:longword;
begin
for ip:=0 to $ffffffff do
if ping(ip) then
showmessage('Found your buddy! Are you still alive to read this
message?');
end;
? :)
Cheers,
Nicholas Sherlock
|
|
| Back to top |
|
 |
Maarten Wiltink Guest
|
Posted: Thu Feb 17, 2005 8:07 pm Post subject: Re: VOIP programmers - info please |
|
|
"Alistair George" <noname (AT) xtra (DOT) co.nz> wrote
| Quote: | Maarten Wiltink wrote:
[...] Or broadcast into tuple space. Or query your neighbourhood
in a loosely coupled recursing collective.
Sorry Maarten, Please expand a bit:
Broadcast into tuple space?
|
Her name is Linda. Google knows her.
| Quote: | How to query the neighbourhood when you dont know their IP?
|
In P2P networking, your neighbourhood is those people whose IP
address you _do_ know.
| Quote: | There must be faq somewhere to give that information but I have
not found it.
|
See RFC 977 for example.
Groetjes,
Maarten Wiltink
|
|
| Back to top |
|
 |
Alistair George Guest
|
Posted: Thu Feb 17, 2005 9:23 pm Post subject: Re: VOIP programmers - info please |
|
|
| Quote: | You mean like this:
var ip:longword;
begin
for ip:=0 to $ffffffff do
if ping(ip) then
showmessage('Found your buddy! Are you still alive to read this
message?');
end;
? :)
Cheers,
Nicholas Sherlock
|
Hmm food for thought, but a huge task as the ip adds (string) is groups
of numbers. I dont think there could be constraints on the range.
Tks,
Al+
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
|
|
| Back to top |
|
 |
Alistair George Guest
|
Posted: Thu Feb 17, 2005 9:29 pm Post subject: Re: VOIP programmers - info please |
|
|
Maarten Wiltink wrote:
| Quote: | "Alistair George" <noname (AT) xtra (DOT) co.nz> wrote in message
news:4214e612$1_1 (AT) 127 (DOT) 0.0.1...
Maarten Wiltink wrote:
[...] Or broadcast into tuple space. Or query your neighbourhood
in a loosely coupled recursing collective.
Sorry Maarten, Please expand a bit:
Broadcast into tuple space?
Her name is Linda. Google knows her.
I thought Tuple was a typo - thanks have found it! |
However, it does look like the server holding on to the Messenger group
data is the only really practical method so far.
Tks,
Al+
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
|
|
| Back to top |
|
 |
Maarten Wiltink Guest
|
Posted: Fri Feb 18, 2005 9:28 am Post subject: Re: VOIP programmers - info please |
|
|
"Alistair George" <noname (AT) xtra (DOT) co.nz> wrote
| Quote: | for ip:=0 to $ffffffff do
if ping(ip) ...
Hmm food for thought, but a huge task as the ip adds (string) is groups
of numbers. I dont think there could be constraints on the range.
|
IP addresses are divided into 5 classes, A through E.
+-------+ A is half the total space. B is half of what remains, C is
| Quote: | | half of what remains after that. D and E split the last
A | one-eighth.
|
+---+---+ Classes A, B, and C are normal (unicast) IP addresses and
| C | almost completely allocatable for public use. The upper half
B +-+-+ of block A was reserved by policy and only released somewhat
|D|E| recently as ISPs clamoured for extra space. D are multicast
+---+-+-+ addresses. E is reserved and unused. |
So there are constraints. You only want adresses 0 to $dfffffff. Much
more manageable, isn't it?
Groetjes,
Maarten Wiltink
|
|
| Back to top |
|
 |
Alistair George Guest
|
Posted: Sat Feb 19, 2005 10:55 pm Post subject: Re: VOIP programmers - info please |
|
|
| Quote: |
Groetjes,
Maarten Wiltink
Would it be feasible to have some form of decentralised broadcast, |
whereby each online user periodically sent out 'something' into the
ether, which given an ACK by a recipient could be acknowledged with data?
The problem I have with 'something' is where would the destination be?
Al+
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
|
|
| Back to top |
|
 |
Maarten Wiltink Guest
|
Posted: Sun Feb 20, 2005 11:31 am Post subject: Re: VOIP programmers - info please |
|
|
"Alistair George" <noname (AT) xtra (DOT) co.nz> wrote
<peer to peer networking>
| Quote: | Would it be feasible to have some form of decentralised broadcast,
whereby each online user periodically sent out 'something' into
the ether, which given an ACK by a recipient could be acknowledged
with data? The problem I have with 'something' is where would the
destination be?
|
The problem is the nature of your "ether". Make a decision about that
and all your problems should start solving themselves.
You started out with the wish to do away with the need for a central
(web) server. That can be done but you'll need something to replace it.
A distributed infrastructure needs some sort of broadcast medium. The
IP ether that a web server listens to is not a very good broadcast
medium; you would be limited to LAN environments.
The idea of a "loosely coupled recursing collective" as I put it was
to build an ether on top of IP, but it requires seeding, is subject to
partitioning, and does not work from behind a firewall.
Groetjes,
Maarten Wiltink
|
|
| Back to top |
|
 |
Alistair George Guest
|
Posted: Sun Feb 20, 2005 8:41 pm Post subject: Re: VOIP programmers - info please |
|
|
Maarten Wiltink wrote:
| Quote: | "Alistair George" <noname (AT) xtra (DOT) co.nz> wrote in message
news:4217c490$1_2 (AT) 127 (DOT) 0.0.1...
peer to peer networking
Would it be feasible to have some form of decentralised broadcast,
whereby each online user periodically sent out 'something' into
the ether, which given an ACK by a recipient could be acknowledged
with data? The problem I have with 'something' is where would the
destination be?
The problem is the nature of your "ether". Make a decision about that
and all your problems should start solving themselves.
You started out with the wish to do away with the need for a central
(web) server. That can be done but you'll need something to replace it.
A distributed infrastructure needs some sort of broadcast medium. The
IP ether that a web server listens to is not a very good broadcast
medium; you would be limited to LAN environments.
The idea of a "loosely coupled recursing collective" as I put it was
to build an ether on top of IP, but it requires seeding, is subject to
partitioning, and does not work from behind a firewall.
Groetjes,
Maarten Wiltink
Oh, it does have to work behind a firewall. These days VOIP systems moot |
case is Microsoft Messenger have major problems with firewalls/routers.
I have to be able to work around this so I see many problems ahead!
Tks vm.
Alistair+
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
|
|
| Back to top |
|
 |
Maarten Wiltink Guest
|
Posted: Mon Feb 21, 2005 9:42 am Post subject: Re: VOIP programmers - info please |
|
|
"Alistair George" <noname (AT) xtra (DOT) co.nz> wrote
| Quote: | Maarten Wiltink wrote:
[...]
Oh, it does have to work behind a firewall.
|
Firewalls protect your fragile services from the onslaught of the
big bad internet. And then people complain that the internet can't
get at their services. Gah.
Groetjes,
Maarten Wiltink
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|