how to program with two NIC cards in the system

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gnanapoongothai
    New Member
    • Jun 2007
    • 62

    how to program with two NIC cards in the system

    hi,
    if i have two network cards how will i get data from them if i am using tcp/ip protocol.whethe r i will have two ip address for each card.
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Originally posted by gnanapoongothai
    hi,
    if i have two network cards how will i get data from them if i am using tcp/ip protocol.whethe r i will have two ip address for each card.
    Socket programming will allow you to create connections over a network.

    Comment

    • sriramkalyan
      New Member
      • Sep 2007
      • 1

      #3
      Originally posted by gnanapoongothai
      hi,
      if i have two network cards how will i get data from them if i am using tcp/ip protocol.whethe r i will have two ip address for each card.

      there will be only one IP addr. but there will be two MAC(H/W addr.) addr.
      u can program them differently.

      Comment

      • gnanapoongothai
        New Member
        • Jun 2007
        • 62

        #4
        Could u breif it or give any websites to look in for deataills.

        thanks for ur reply.

        Comment

        • sicarie
          Recognized Expert Specialist
          • Nov 2006
          • 4677

          #5
          Originally posted by gnanapoongothai
          Could u breif it or give any websites to look in for deataills.

          thanks for ur reply.
          I'm sure Google could return several thousand in under a few seconds. Try searching "C (or C++, if that's your language) socket programming"

          Comment

          Working...