Re: Reading lines from the status port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jan,

So basically if I want to have the best of both worlds I should use two 
separate connections? One with "trace 0" for issuing commands and an 
other one with "trace max" for tracking events? Oh well... I guess I'll 
go with two connections for now. Thanks for the advice. :)

Regards,
Esa

Jan Willamowius kirjoitti:
> Hi Esa,
> 
> unfortunately there is no such guarantee. The only thing you can count
> on is the fact that a single line won't be interrupted.
> But you can set the status port output level to turn off events that you
> don't want to see; eg. after a "trace 0" you will only see responses to
> your commands and reload notifications.
> Or you can use status port filtering to limit the events that your
> application sees.
> 
> Regards,
> Jan
> 
> 
> Esa Nyrhinen wrote:
>> Hi,
>>
>> I'm writing an application that uses the status port and I have a simple 
>> question about how the status port works.
>>
>> Does the gnugk guarantee that all responses that it writes to the status 
>> port that are multiple lines long like for example for commands like ! 
>> and ? are written without interruption so that I can trust that it will 
>> never insert for example an extra RRJ or something between the beginning 
>> and the end of the response for the ! command when I'm not filtering out 
>> anything?
>>
>> Best Regards,
>> Esa
> 


------------------------------------------------------------------------------
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux