Search:

Type: Posts; User: Largo

Search: Search took 0.00 seconds.

  1. Thread: using itoa...

    by Largo
    Replies
    2
    Views
    2,132

    I also used itoa once and regretted this when I...

    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...
  2. Replies
    2
    Views
    2,985

    I'm doing something like 20 pings each second, so...

    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.
    ...
  3. Replies
    2
    Views
    2,985

    popen takes too long?

    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...
  4. Thread: output of fping

    by Largo
    Replies
    2
    Views
    4,174

    OK, that helped me out. Thx a lot.

    OK, that helped me out. Thx a lot.
  5. Thread: output of fping

    by Largo
    Replies
    2
    Views
    4,174

    output of fping

    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,...
  6. Replies
    1
    Views
    3,266

    pclose without waiting for child

    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...
  7. Replies
    3
    Views
    3,388

    OK thx, that's indeed easier and it's working now.

    OK thx, that's indeed easier and it's working now.
  8. Replies
    3
    Views
    3,388

    g_spawn_async_with_pipes doesn't work

    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...
Results 1 to 8 of 8