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 program
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
Re: Listening to Multiple Ports in c
Create two sockets: one listening the port 1300, another - the port 1400...
Re: Listening to Multiple Ports in c
Can u please provide me with some sample code how to perform it.
I tried but was not able to do it
Re: Listening to Multiple Ports in c
What was your problem?
Could you create one socket to listen one port?
You could try to search for a sample code in the language you are using (which one, BTW?) in Web...