<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Yes.<br>
<br>
Gaurav Kansal wrote:
<blockquote cite="mid00b601c7178c$db7819d0$0b40000a@blr.velankani.com"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 10 (filtered)">
  <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"\@MS Mincho";}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:#606420;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 77.95pt 1.0in 77.95pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
  </style>
  <div class="Section1">
  <p class="MsoPlainText"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">Hi</span></font></p>
  <p class="MsoPlainText"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">&nbsp;</span></font></p>
  <p class="MsoPlainText"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">I am going
through the
SER code. Can somebody please confirm if my understanding is correct in
the following
things happening during initialization time?</span></font></p>
  <p class="MsoPlainText"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">&nbsp;</span></font></p>
  <p class="MsoPlainText"
 style="margin-left: 0.5in; text-indent: -0.25in;"><font
 face="Times New Roman" size="3"><span
 style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">1.<font
 face="Times New Roman" size="1"><span
 style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font></span></font><font face="Times New Roman" size="3"><span
 style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">Use of
&#8220;children&#8221;
in cfg file: &nbsp;SER will fork a process for the IP interface specified;
if
not then one process each for all the IP addresses in the system. This
it will
do for TCP as well as UDP as well as TLS, means separate processes for
each. </span></font></p>
  <p class="MsoPlainText" style="margin-left: 0.5in;"><font
 face="Times New Roman" size="3"><span
 style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">&nbsp;</span></font></p>
  <p class="MsoPlainText" style="margin-left: 0.5in;"><font
 face="Times New Roman" size="3"><span
 style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">Does
"children" mean that how many processes you want to fork for each IP
interface (or a socket) on which SER is listening? So depending on
number of
children, there will be multiple forked processes for each IP
address/port.</span></font></p>
  <p class="MsoPlainText" style="margin-left: 0.5in;"><font
 face="Times New Roman" size="3"><span
 style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">&nbsp;</span></font></p>
  <p class="MsoPlainText"
 style="margin-left: 0.5in; text-indent: -0.25in;"><font
 face="Times New Roman" size="3"><span
 style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">2.<font
 face="Times New Roman" size="1"><span
 style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font></span></font><font face="Times New Roman" size="3"><span
 style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">If four
children are
forked for one process, then which one actually receives from socket as
all
four will be listening on same IP address/port? Is it that some list is
maintained and at one time only the process at head node of list calls
recvfrom()?
After it receives and processes the incoming request, it is put to tail
of
list.</span></font></p>
  <p class="MsoPlainText" style="margin-left: 0.25in;"><font
 face="Times New Roman" size="3"><span
 style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">&nbsp;</span></font></p>
  <p class="MsoPlainText"
 style="margin-left: 0.5in; text-indent: -0.25in;"><font
 face="Times New Roman" size="3"><span
 style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">3.<font
 face="Times New Roman" size="1"><span
 style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font></span></font><font face="Times New Roman" size="3"><span
 style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">Why is the
suggested &#8220;children&#8221;
value 4?</span></font></p>
  <p class="MsoPlainText"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">&nbsp;</span></font></p>
  <p class="MsoPlainText"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">Regards,</span></font></p>
  <p class="MsoPlainText"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">Gaurav Kansal</span></font></p>
  <p class="MsoPlainText"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">&nbsp;</span></font></p>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Serusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>
  </pre>
</blockquote>
</body>
</html>