This is a purely coding related question, and has nothing to do with SIP. You should bring question to the list concerned with the language you are using for your implementation.
Regards, Brez On Mon, Apr 18, 2011 at 8:44 AM, Siga <[email protected]> wrote: > Hi, > I need some information of how can I avoid the hard coding of the IP > Address > in my implementation, right now I am using socket programming for my SIP > implementation and I am hard coding the IP Address in my code for example " > local.sin_addr.s_addr = 1.2.3.4; ". > One more question is, in the SIP session is it also possible to eliminate > the hard coding of IP Address especially in SIP INVITE, ACK, BYE and so on. > Because with this I can only connect to one remote host and every time I > want to connect to another remote host I needed to do some changes in my > code. > Any good information with an example or any useful links to overcome this > problem will be really useful. > > Regards > _______________________________________________ > Sip-implementors mailing list > [email protected] > https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors > _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
