lol, thats funny. you opening socket on the port and then trying to set up rpcapd on the same port which is busy yet!
2010/7/27 vishwesh jatala <[email protected]> > Hi, > > 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). > > Attached codes : > 1.main.cpp > 2.server.c (Simple C socket server program) > > while executing I have done the following steps > 1.Started the server by executing server.c(with some port eg.9898 as an > argument) > 2.Started the daemon rpcapd.exe -b 127.0.0.1 -p 9898 -n > ( since the server is executing in the local machine) > 3. Started the execution of main program > Out put : > Enter the device you want to list: > rpcap:// ==> lists interfaces in the local machine > rpcap://hostname:port ==> lists interfaces in a remote machine > (rpcapd daemon must be up and running > and it must accept 'null' authentication) > file://foldername ==> lists all pcap files in the give folder > > Enter your choice: rpcap://127.0.0.1:9898/ > > After this step it keeps on waiting ..and does not display any devices > on this machine with this port? > > And also at the server side I see that connection is accepted(becz I > see the conn accept msg) > > So do I have to include any code on the server program to send the > device list or it should automatically detect the devices?? > > So any help on this would be really useful to me .... > > Thanks in advance, > Vishwesh > > > > _______________________________________________ > Winpcap-users mailing list > [email protected] > https://www.winpcap.org/mailman/listinfo/winpcap-users > >
_______________________________________________ Winpcap-users mailing list [email protected] https://www.winpcap.org/mailman/listinfo/winpcap-users
