Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 28th, 2008, 09:29 PM
Registered User
 
Join Date: Feb 2008
Location: Cairo, , Egypt.
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
Reply With Quote
  #2 (permalink)  
Old February 28th, 2008, 10:33 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
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
Reply With Quote
  #3 (permalink)  
Old February 29th, 2008, 03:53 AM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
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 -/
Reply With Quote
  #4 (permalink)  
Old February 29th, 2008, 07:34 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
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
Reply With Quote
  #5 (permalink)  
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?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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 3 January 22nd, 2013 12:30 PM
Voice Chat NiNe General .NET 2 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



All times are GMT -4. The time now is 09:49 PM.


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