-
July 4th, 2011, 06:00 AM
#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 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
-
July 4th, 2011, 06:36 AM
#2
Re: Listening to Multiple Ports in c
Create two sockets: one listening the port 1300, another - the port 1400...
Victor Nijegorodov
-
July 5th, 2011, 09:41 AM
#3
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
-
July 5th, 2011, 09:52 AM
#4
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...
Victor Nijegorodov
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|