Search:

Type: Posts; User: trinli

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,822

    Thanks to both of you. I had not seen ctrace. ...

    Thanks to both of you. I had not seen ctrace. I'll check on that. Also, I could automate it with an expect script. Hadn't thought of that. Ok, I'll see what I can come up with.

    Thanks again.
  2. Replies
    8
    Views
    1,822

    A full trace of the program. A file which...

    A full trace of the program. A file which contains a listing of every line (with line numbers) that the program executed in the order that they were executed, from start to finish. I looked at the...
  3. Replies
    8
    Views
    1,822

    gdb command or alternative

    I haven't found a way to do this in gdb, so I asking.

    What I would like to do is run a program and get gdb type output (full trace of the program), but not interactively. In short, a file...
  4. Replies
    7
    Views
    1,613

    I have seen something like this when I was...

    I have seen something like this when I was programming with UDP sockets. Just a "shot in the dark" what does errno report?

    BTW, I'm mostly a linux programmer, so this might not be of help.
  5. Replies
    3
    Views
    1,595

    Sorry, I was gathering my notes into something...

    Sorry, I was gathering my notes into something that might be useful. It was actually fairly simple.

    sorta pseudo code follows:

    #include <net/pfvar.h>

    define a struct of type pfioc_natlook...
  6. Replies
    3
    Views
    1,595

    Nevermind. I found an answer.

    Nevermind. I found an answer.
  7. Replies
    3
    Views
    1,595

    FreeBSD redirect messes up IP

    Hi. I'm working on porting over some proxy code to FreeBSD. The problem is that the port is redirected using PF. When this happens, the code that linux uses to figure out what the original target...
  8. Replies
    10
    Views
    2,668

    Well, errno does give me back a connection error...

    Well, errno does give me back a connection error consistently after the first failed send. This might be good enough for what I need. I'll have to run some tests to figure out if it's reliable. ...
  9. Replies
    10
    Views
    2,668

    I'll check that. Thanks And, yeah. ...

    I'll check that. Thanks

    And, yeah. Unfortunately, I started with using sendto.
  10. Replies
    10
    Views
    2,668

    I'll have to talk to the guy writing the server...

    I'll have to talk to the guy writing the server side. At current, as I understand it. There's no response at all. But, because I do get a -1 result from this (and it's in a pattern), it seems to...
  11. Replies
    10
    Views
    2,668

    Thanks for the input, but it didn't solve the...

    Thanks for the input, but it didn't solve the problem.

    I replaced the write command with both:
    numrec = send(srcsock,sendst,strlen(sendst),0);

    or

    numrec =...
  12. Replies
    10
    Views
    2,668

    detect UDP server failure

    I'm trying to write a udp client program that will detect if the server went down. This program is for a linux or BSD system. Here's a short test program:


    #include <netinet/in.h>
    #include...
Results 1 to 12 of 12