Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 28th, 2008, 09:29 PM
Registered User
 
Join Date: Feb 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Voice Chat (P2P or client server??)

hey guys,
im new to this forum and happy to join such an interesting and hopefully a useful one

I'm working on a Voice chat application in c# as a part of my graduation project and i have a couple of questions

1-which is better, to implement it using client-server or is it better with p2p??

2-If it is better using P2P ..im facing a big problem with that as i want to implement it using hybrid P2P (i.e Agent ,Hub) in order to get the ip addresses of the available peers..and i simply cant find any source to explain to me how to implement it, especially the Hub part..so if anyone would help me with those issues i would be very thankful



Noha Salah
 
Old February 28th, 2008, 10:33 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Certainly from a performance standpoint, going p2p would be beneficial. With the amount of data you would need to pump through for voice, eliminating as many bottlenecks would be key. If everything goes through a single point like a server, then it will have to be one heck of a server with a big network pipe. Of course, doing it p2p has it's own challenges, as you have pointed out, determining IPs so you can establish direct connections being a pretty formidable one.

-Peter
peterlanoie.blog
 
Old February 29th, 2008, 03:53 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

There are now the System.Net.PeerToPeer and System.Net.PeerToPeer.Collaboration namespaces - don't know what they do but it might be useful to look into them.

Also, I suspect have a server which co-ordinates the users of the voice system, while having the direct voice to voice going from peer to peer would be the simplest implementation.

/- Sam Judson : Wrox Technical Editor -/
 
Old February 29th, 2008, 07:34 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma
Default

P2P certainly is the way to go, what you are stuck at is the 'Discovery' bit of the process. I had co-authored a book, just on the subject when P2P as notion was pretty much still in its infancy. I tried re-creating Nabster, minus the lapses that ran it into litigation problems, and gave away the source code free with the book. The book is still hanging on by its fingernails, has survived heavy pounding from critics, and has already been published in few other languages. Can be found here, http://www.amazon.com/gp/product/076...pr_product_top
Obviously, I love this book ;)

Regards
Ankur
 
Old September 25th, 2010, 09:50 AM
Registered User
 
Join Date: Sep 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi
im also working on something similar to for graduation project!!!!
i am trying to create a free calling system using mobile phones across a WiFi network. i am trying to implement the system using a hybrid p2p network using c# in .NET framework in visual studio.
I was wondering if this is possible to implement?
If so, is there any other way to implement p2p connections between two mobile phone without using sockets?





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make Live Voice Chat through ASP.NET ? savan_thakkar ASP.NET 1.0 and 1.1 Professional 2 January 22nd, 2013 12:30 PM
Voice Chat NiNe General .NET 1 June 2nd, 2011 05:06 AM
Req for voice chat kesakiran ASP.NET 1.0 and 1.1 Professional 1 August 20th, 2007 12:14 PM
p2p chat alain57 Pro Java 3 July 24th, 2006 02:47 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.