Re: Re: [ilugd] Implementing SIP protocol
vivek khurana <khuranavivek_in-/[email protected]> Sun, 9 Jan 2005 20:00:17 -0800 (PST)
| Newsgroups | gmane.user-groups.linux.delhi.devel |
|---|---|
| Message-ID | <[email protected]> |
> > Anyways, my query is how to go about implementing > things from an RFC. > Obviously, reading it is one important task, but > what else do we have > to take care of? What programming style shall we > follow... build & > fix/ prototyping/ etc. First thing you need is to draw requirement specification. Go through the RFC and draw all the cases possible in the protocol negotiation i.e draw the state machine for the protocol. As a first step build a simple server and a simple client. The client and server should only be able to connect and say "hello" to each other i.e first thing you should implement is succesful connection and error report in case of failed connection. Once you have sucessful connection, you can work on transmitting and receiving data over the connection. Also, remember in a protocol issues such as error reporting and security are integral part of development (instead being a seprate layer), you are supposed to take care of them from the very begining. > > Anyone on this list tried something similar (not on > SIP, but on any > other protocol) ? > ie, starting from the RFC & building up the things. Used to be my day job in erstwhile 2003. Regards VK ===== Hug the REALITY ;-) Disclamer The facts expressed here belong to everybody, the opinions to me. The distinction is yours to draw... __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail