I also used itoa once and regretted this when I wanted to port my program to linux.
Anyhow, the radix value has following meaning:
2 -> binary
10 -> decimal
16 -> hex
etc.
So you should use...
Type: Posts; User: Largo
I also used itoa once and regretted this when I wanted to port my program to linux.
Anyhow, the radix value has following meaning:
2 -> binary
10 -> decimal
16 -> hex
etc.
So you should use...
I'm doing something like 20 pings each second, so it's not that my server can't handle that.
I would just like to know what the reason can be that sometimes popen takes a few seconds to execute.
...
I'm writing a program to check whether servers are still alive. So I'm executing the ping command with popen, to make sure my program isn't blocked during the ping and I can execute a lot of pings in...
OK, that helped me out. Thx a lot.
I'm trying to parse the output of fping in my program, but the second line of the output, is always going directly to my standard output. So if the output of fping is:
x.x.x.x : [0], 84 bytes,...
I'm creating a child process using popen and after a while I'm checking the result and close the pipe using pclose.
Now the problem is that in some cases the child hasn't finished yet, so pclose...
OK thx, that's indeed easier and it's working now.
What I want to do is the following: I want to execute a ping command, but I don't want my program to be blocked while waiting for the response, so I want to execute it asynchronously and after a...