Search:

Type: Posts; User: quantt

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,620

    ok, but if I did that, I've got in *t only data...

    ok, but if I did that, I've got in *t only data from *p and lose data from *m.


    int main{
    struct data *p=NULL, *m=NULL,*t=NULL;

    p = foo();// here i add something to struct struct data
    m =...
  2. Replies
    5
    Views
    1,620

    I guess yes, for just one it works well, but I...

    I guess yes, for just one it works well, but I can't add second.
    and I add here size for second struct...
    p+sizeof(struct data)
  3. Replies
    5
    Views
    1,620

    append data from one pointer fo another

    g'day,
    Could anybody help me with joinning data?
    Below what I do....



    struct data {
    union {
    struct {
    u_int16_t match_size;
  4. Replies
    2
    Views
    31,749

    hm, looks interesting things. Add in your...

    hm, looks interesting things. Add in your filesystem wider stat() information, e.g. file type mp3,mp4,gif,jpeg,html, and so on ;) it would be very useful.
  5. Replies
    3
    Views
    989

    Hm, very interesting. Its library from...

    Hm, very interesting.
    Its library from wireless_tools project?
    I seen libiw in this project and have tried to use iwpriv, but I've got

    perhaps is that means, what my wireless adapter firmware...
  6. Replies
    3
    Views
    989

    seeking embedded unwired client

    hi everyone,
    I'm seeking a library with wpa implementation, I seen hostapd, but it's so ugly.
    I've tried make test_wpa from this project and just spend so much time so as to make it to work. I made...
  7. Replies
    4
    Views
    2,421

    segfault if I call func from a lib, why?

    hi every1,
    perhaps some one be able to help me in that worst deal...
    actually I use libiptc & libxtables from netfilter project and have got this trace....
    it happening every time if I do to call...
  8. Replies
    13
    Views
    18,217

    I assume what that do haldaemon.

    I assume what that do haldaemon.
  9. Replies
    0
    Views
    968

    trouble with rt-app

    hi every1,
    I need a suggestion about rt-application.
    if i did it and send data to my socke I've got "Non real time Singal:", why?
    actyally i did it in the handler func.

    siginfo_t* si;
    ...
  10. no, I can seeking the buffer and also getting...

    no, I can seeking the buffer and also getting necessary information...
    p.len= cb.buf[2];
    p.id= cb.buf[1]+2;
    p.payload= cb.buf[p.len]+3;
    but if i not use in a global sock(handle of socket) I can't...
  11. yes, I don't want to use a loop.

    yes, I don't want to use a loop.
  12. hello every1, I seed a suggesting related asychron i\o. I'm write a program which us

    hello every1,
    I seed a suggesting related asychron i\o. I'm write a program which use completion ports, but wandor how avoiding loops like for(;;) below...
    i.e I want parse proto with count in...
  13. Replies
    2
    Views
    1,212

    thanks for your reply, but how I can change...

    thanks for your reply, but how I can change addres while reading from the dump?

    I'm collecting the data to pcap_t and then injecting it and there I'm unsure with 2 and 3 arguments, where I can...
  14. Replies
    2
    Views
    1,212

    protocol testing...

    hello, may be someone know, how I can send packets from collected(via tcpdump) those before in pcap-dump to my target ip? I need this for testing my program with specify protocol without real...
  15. Replies
    0
    Views
    947

    need sugestion about mutex

    hello every1,
    I need suggestion about parallel computing in my daemon.
    So, I've a daemon which use different sockets, but i need have a new socket bind while other well works. Actually, i stumbled...
  16. Thread: pid's

    by quantt
    Replies
    5
    Views
    1,936

    right, how make one parent with two child's and...

    right, how make one parent with two child's and telling from one child another child?
  17. Thread: pid's

    by quantt
    Replies
    5
    Views
    1,936

    for instance, i use it function many times... I...

    for instance, i use it function many times... I can tell parent from child (1), but how I can tell from child with B child A?


    int main(void){
    launcher("A");
    launcher("B");
    }
    void...
  18. Thread: pid's

    by quantt
    Replies
    5
    Views
    1,936

    pid's

    hi, how I can get everyone child pid's the some parent?
  19. Thread: change route

    by quantt
    Replies
    5
    Views
    1,529

    ok, I made this two ways. I've not too much data...

    ok, I made this two ways. I've not too much data on follow, then I use just variables, instead of shared memory. Could you suggest to me something related architect this code.

    ...
  20. Thread: change route

    by quantt
    Replies
    5
    Views
    1,529

    In another words do full-trip pipe(or something...

    In another words do full-trip pipe(or something else?) from parent to child(callback) and child to parent and as well as giving information to parent if that really needs? If that exact, then we...
  21. Thread: change route

    by quantt
    Replies
    5
    Views
    1,529

    change route

    hello every1,
    I need suggestion related change routing information from my program with user privileges. How I can change routing tables in my host linux or bsd based from user?
    i.e. I launch my...
  22. Replies
    3
    Views
    1,814

    free needed or not?

    hi every1,
    I use not-blocked tcp socket and i needed help with that..


    write(sock, (struct auth*)&autorization, sizeof(struct auth));
    r = read(socket_fd, recv, sizeof(recv));
    for (i = 0; i <...
  23. Replies
    7
    Views
    3,831

    Hm, right, i understood that. But when we use...

    Hm, right, i understood that. But when we use fork it's create background process, than pthread don't do it. With in similar of this occurs we can use mix with pthreads and fork, because pthread...
  24. Replies
    7
    Views
    3,831

    pthread question

    g'day,
    I've a question about pthread or fork functions. For example, I've got parent copy my programm which ran from root privileges, than it could be forked or new pthread create with new pid and...
  25. Replies
    1
    Views
    794

    function in kernel with zero variables

    g'day,
    I've a question about usage function which can getting zero variable.
    For example...

    void input(int buf, int type, int class){
    if(type!=....){
    check(buf);
    }
    #ifdef CLASS
    else{
Results 1 to 25 of 80
Page 1 of 4 1 2 3 4