none
Voice Chatting through WCF RRS feed

  • Question

  • Hello Every one,

                    We have to implement voice chat using WCF Service. so when i googled, every where I found that we have to use socket programming for implementing

    Voice chat. So I want to know is there any way to implement voice chat using WCF Asyncronus methos. Please any one help me out from this problem.

    Thanks in Advance.

    Regards

    Hiran.Repakula


    Friday, December 18, 2009 11:40 AM

Answers

  • Hello,

    I believe in case of voice chat application WCF brings nothing here: you will get more troubles than benefits.
    Use sockets in .NET Framework and if possible rely on UDP protocol.
    Vitaliy Liptchinsky http://dotnetframeworkplanet.blogspot.com/
    Friday, December 18, 2009 12:25 PM
  • Hi Hiran,

    Please have a look at Working with NATs and Firewalls.
    http://msdn.microsoft.com/en-us/library/ms731948.aspx
    NAT was created to enable several machines to share a single external IP address. A port-remapping NAT maps an internal IP address and port for a connection to an external IP address with a new port number. The new port number allows the NAT to correlate return traffic with the original communication. Many home users now have an IP address that is only privately routable and rely on a NAT to provide global routing of packets.

    In this situation you need to use one public web server to set up network connection between two computers with NATed IP address.
    Best regards,
    Riquel
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Tuesday, December 22, 2009 7:23 AM
    Moderator

All replies

  • Hello,

    I believe in case of voice chat application WCF brings nothing here: you will get more troubles than benefits.
    Use sockets in .NET Framework and if possible rely on UDP protocol.
    Vitaliy Liptchinsky http://dotnetframeworkplanet.blogspot.com/
    Friday, December 18, 2009 12:25 PM
  • Hi vitaliy,

              Thanks for your kind reply. We are trying to implement using UDP Protocol. We are successful in implementing it on a LAN. but when we are trying to implement

    it over Internet, we are facing problems. When we have to implement it over Internet we have to use router IP instead of local IP. But two persons in a same LAN will have 

    same RouterIP, here we are facing problem the call is not getting connected.

    Can you please guide me how to implement it over internet.

    Thanks and Regards

    Hiran Repakula.


    Friday, December 18, 2009 12:39 PM
  • Hi Hiran,

    Please have a look at Working with NATs and Firewalls.
    http://msdn.microsoft.com/en-us/library/ms731948.aspx
    NAT was created to enable several machines to share a single external IP address. A port-remapping NAT maps an internal IP address and port for a connection to an external IP address with a new port number. The new port number allows the NAT to correlate return traffic with the original communication. Many home users now have an IP address that is only privately routable and rely on a NAT to provide global routing of packets.

    In this situation you need to use one public web server to set up network connection between two computers with NATed IP address.
    Best regards,
    Riquel
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Tuesday, December 22, 2009 7:23 AM
    Moderator