<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<br><br>I am trying to test one small program in which...the program is not listing the devices that are present in the remote machine. (it keeps waiting there).<br><br>Attached codes :<br>1.main.cpp<br>2.server.c (Simple C socket server program)<br><br>while executing I have done the following steps<br>1.Started the server by executing server.c(with some port eg.9898 as an argument)<br>2.Started the daemon rpcapd.exe -b 127.0.0.1 -p 9898 -n<br> ( since the server is executing in the local machine)<br>3. Started the execution of main program<br> Out put :<br><span style="font-style: italic;"> Enter the device you want to list:</span><br style="font-style: italic;"><span style="font-style: italic;"> rpcap:// ==> lists interfaces in
the local machine</span><br style="font-style: italic;"><span style="font-style: italic;"> rpcap://hostname:port ==> lists interfaces in a remote machine</span><br style="font-style: italic;"><span style="font-style: italic;"> (rpcapd daemon must be up and running</span><br style="font-style: italic;"><span style="font-style: italic;"> and it must accept 'null' authentication)</span><br style="font-style: italic;"><span style="font-style: italic;"> file://foldername ==> lists all pcap files in the give folder</span><br style="font-style: italic;"><br style="font-style: italic;"><span
style="font-style: italic;"> Enter your choice:<span style="font-weight: bold;"> rpcap://127.0.0.1:9898/</span></span><br><br> After this step it keeps on waiting ..and does not display any devices on this machine with this port?<br> <br> And also at the server side I see that connection is accepted(becz I see the conn accept msg) <br><br> So do I have to include any code on the server program to send the device list or it should automatically detect the devices??<br><br> So any help on this would be really useful to me ....<br><br>Thanks in advance,<br>Vishwesh<br> <br></td></tr></table><br>