Skip to Content.
Sympa Menu

wg-multicast - Fwd: [streaming] miniSAP

Subject: All things related to multicast

List archive

Fwd: [streaming] miniSAP


Chronological Thread 
  • From: Marshall Eubanks <>
  • To:
  • Subject: Fwd: [streaming] miniSAP
  • Date: Mon, 30 Jun 2008 13:14:21 -0400

If true, this is good news.

Marshall

Begin forwarded message:

From: Rémi Denis-Courmont
<>
Date: June 30, 2008 1:04:41 PM EDT
To:

Cc: Marshall Eubanks
<>,


Subject: Re: [streaming] miniSAP

Hello,

Le lundi 30 juin 2008 19:52:27 Marshall Eubanks, vous avez écrit :
On Jun 30, 2008, at 12:34 PM, Rémi Denis-Courmont wrote:
Le dimanche 29 juin 2008 22:18:55 Marshall Eubanks, vous avez écrit :
In other words, I had put in two ports, but miniSAP combined them
into one "video port 5432534 udp 33"
Not sure if that was the problem.

You're taking minisap way beyond its intended use.

No doubt, but the issue to me is that the software, if misused, does
bad things. Can this be prevented ?

Sure. I think I found the problem, but it has nothing to do with port numbers.

--
Rémi Denis-Courmont
http://www.remlab.net/
Index: program.cpp
===================================================================
--- program.cpp	(révision 339)
+++ program.cpp	(révision 340)
@@ -69,10 +69,9 @@
 void Program::SetHasPlGroup(bool b){b_has_pl_group = b ;}
 void Program::SetPort(const char* p)
 {
-    int i_port=atoi(p);
     char psz_port[6];
-    snprintf(psz_port, sizeof (psz_port), "%i",i_port);
-    port +=psz_port;
+    snprintf(psz_port, sizeof (psz_port), "%d", atoi(p));
+    port = psz_port;
 
 }
 




Archive powered by MHonArc 2.6.16.

Top of Page