Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Zebra2k

    Net Send

    Hi, I want to write a program similar to 'net send', which sends a messages to other computers in the network. Does anyone know how Net Send was implemented. What APIs do I need to use? Any pointers or examples are very appreciated. Thanks, ab
  2. Zebra2k

    Outbound packets are seen twice

    I am using Intel PRO Adapter. I set Ethereal so that it captures traffic on that interface. I don't see any mixture pattern of TCP or UDP packets. Actually, I have two machines having this problem. I rebuilt one of them, the problem on that machine went away. I don't want to rebuild the other...
  3. Zebra2k

    Outbound packets are seen twice

    Thanks Mark. The problem is very persistent, and happens at all time for both UDP or TCP packets. Both packets are pretty much identical, including the sequence and acknowledgement numbers. The only difference between them is the timestamp of each, which varies depending on the sniffer program...
  4. Zebra2k

    Outbound packets are seen twice

    Hi all, For some reasons, when I use a sniffer tool to capture the network traffic on my machine (win2k server), I always saw twice for every packet comming to outside. Two packets are almost identical except its timestamps are different. I used many different sniffer tools (like ethereal...
  5. Zebra2k

    Ethernet cards

    How would I do in a C/C++ program to detect if there is any ethernet card installed in a system?. If one exists, the program needs to get its interface name or the IP address to which it binds to. Thanks for your help. zb
  6. Zebra2k

    Getting program name

    Hi, How do I get the name of the current running program without using the command line argument argv[0]? thanks, zb
  7. Zebra2k

    How to get memory usage by the program

    Have you tried using getrusage() yet? I don't know if it is supported on Linux. zb
  8. Zebra2k

    test for non-integer value

    I think it is safer to store the input number into a string buffer, and then check each byte in it for error.
  9. Zebra2k

    test for non-integer value

    If you use cin, then try out with cin.fail() after getting the user input. It might work. zb
  10. Zebra2k

    statistic information

    That helps. Thanks Jolesen.
  11. Zebra2k

    statistic information

    Hi, Are there APIs for collecting CPU and memory usage of a running process? Any pointers or examples are highly appriciated. Thanks. Z.

Part and Inventory Search

Back
Top