ravi kumar

ravi kumar

  • NA
  • 4
  • 0

session binding with Loopback address

Jan 1 2006 11:46 PM
Hi , Now i am trying to develope a program in C# for a trap application i.e like message transmission. In this program i created a socket for session to be binding with a particular host to send traps. I have a problem that, my host is in a network, when i send traps with receiving address as localhost means it will not receive . But when i do the same with my host name means it received traps message . I send traps to my machine and my exact requrirement is name of session to binding with is either localhost or host name it will receive traps in my host. How do i acheive this . Is it possible loopback address in C# . If so ,please tell me how to i get that?. And one more thing, If a socket is binding with hostip (or localhost) and i send a message to localhost is it receive that message . But i need to receive both ip and please tell me how to i acheive this. Thanks in Advance. Regards R.Ravikumar.