Thread: Listening to Multiple Ports in c

  1. #1
    Registered User
    Join Date
    Jul 2011
    Posts
    1

    Listening to Multiple Ports in c

    Hi,

    Can some one help me or guide me on how to access two different ports on a same multicast address.

    Assume that a server sends a mpeg2ts encapsulated using udp to a multicast group address say 239.0.0.1. It sends two streams to the same multicast address but to different ports say 1300 and 1400.

    In my program i have to access these to ports at a time. Is this possible???

    Please Help me with this

    Thank u

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Obviously put a lot of thought and work into your suggestion over there, eh?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Listening to ports/devices
    By nawledge in forum C Programming
    Replies: 7
    Last Post: 01-25-2011, 01:31 PM
  2. What are you listening to now?
    By Graham Aker in forum A Brief History of Cprogramming.com
    Replies: 31
    Last Post: 01-27-2009, 11:36 AM
  3. Replies: 18
    Last Post: 12-05-2003, 12:06 PM
  4. Not listening right.
    By XSquared in forum Networking/Device Communication
    Replies: 1
    Last Post: 08-28-2003, 01:03 AM
  5. Multiple Ports using Sockets
    By mmondok in forum C Programming
    Replies: 1
    Last Post: 04-14-2003, 09:36 PM

Tags for this Thread