tag:blogger.com,1999:blog-22451554.post114057537117511726..comments2022-12-05T08:34:26.278-05:00Comments on Rapid Communications: Protocol Design by CommitteeDavid J. Fianderhttp://www.blogger.com/profile/08649853579641241634noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-22451554.post-91562880953985492102007-08-15T07:33:00.000-04:002007-08-15T07:33:00.000-04:00George,In general, your questions aren't SIP quest...George,<BR/><BR/>In general, your questions aren't SIP questions, but general network programming questions. The first thing to do is to make sure that you're not using buffered I/O on the socket. In Perl, this is controlled by setting the variable "$|".<BR/><BR/>I can't really be more specific than that, given what you've told me.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-22451554.post-66881563221948515852007-08-15T00:55:00.000-04:002007-08-15T00:55:00.000-04:00I am working on a very small project for a local l...I am working on a very small project for a local library that requires I access the library system using the SIP protocal... however I am getting weird results:<BR/><BR/>I built a small script to connect to the system and request message 17 "Item information request":<BR/><BR/>It seems that if I process more than one message between fsockopen and fclose I get inconsisten results from fread... <BR/>-How can I be sure that I clear the buffer before sending a new request.<BR/>-How can I read the entire SIP response at once<BR/>-Why do I have to sleep when logging on to get any reponse from the system<BR/><BR/>---Thanks... GeorgeUnknownhttps://www.blogger.com/profile/08476190917747041406noreply@blogger.com