<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Hi,<br><div><br></div><div>There were some problems and confusion in my previous post, and i did get some reply, for the query, but the problem i defined still remained unanswered.</div>
<div><br></div><div><br></div><div>However guess, its better to restate my problem, so that i can make you people clear about my query.</div><div><br></div><div>I am using some 3 NICS ( network interface cards), which together get me 10 ports.</div>
<div>2 NICs are are from D-Link NIC cards which have 4 ports each in them, and another is NETGEAR NIC, which has 2 ports in it.</div><div><br></div><div>with the help of pcap_findalldevs() , i can obtain the list of all ports , along with details of NIC cards, their MAC_ addresses and others.</div>
<div><br></div><div>But my question is , pcap_findalldevs( ), gives me list of all 10 ports i am using,</div><div><br></div><div>assume i use a cross-cable and connect any 2 ports to form a loopback condition,then is their any function in wpcap, which tells me </div>
<div>which 2 ports are in loopback state among the 10 ports i am using.</div><div><br></div><div>or any other function is their apart from wpcap, which helps me to do this.</div><div><br></div><div><br></div><div>please help me to figure out this problem.</div>
<div> </div><div><br></div></span><div><div></div></div>