locked
UDP Socket connection specifying local Lan IP from 2 Lancards RRS feed

  • Question

  • I am having Two Lancards installed on my computer

    Lan1: 192.168.0.152
    Lan2: 192.168.111.252

    Bcast details
    Remote Address: 235.1.2.96
    Remote Port : 6789

    This is the broadcast details on Lancard IP: 192.168.111.252


    How can i make UDP connection and getbroadcast from the give remote details and specifying 192.168.111.252 at the same time.


    Thanks for the help!
    • Moved by Harry Zhu Thursday, November 19, 2009 8:54 AM (From:Visual C# General)
    • Edited by Jiten Patoliya Friday, November 20, 2009 8:07 AM
    Monday, November 16, 2009 11:07 AM

Answers

  • solved by passing lan preference in IPEndPoint
    Thanks for the help!
    • Marked as answer by Jiten Patoliya Saturday, February 19, 2011 7:03 AM
    Saturday, February 19, 2011 7:03 AM

All replies

  • I tried for Single Lan card and it works fine...but dint got working for 2 lan cards
    Thanks for the help!
    Wednesday, November 18, 2009 7:07 AM
  • solved by passing lan preference in IPEndPoint
    Thanks for the help!
    • Marked as answer by Jiten Patoliya Saturday, February 19, 2011 7:03 AM
    Saturday, February 19, 2011 7:03 AM