Search:

Type: Posts; User: napsy

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    3,318

    problems with bluetooth name cache in XP

    Hello.

    I'm programming a program that uses some bluetooth operations. The problem is when scanning for bluetooth device the names don't update when I change the device names. I've found out this...
  2. Replies
    12
    Views
    12,326

    It's "No such file or directory" :)

    It's "No such file or directory" :)
  3. Replies
    12
    Views
    12,326

    Well there are several "modules" that use the...

    Well there are several "modules" that use the same network library for network IO. The strange thing is while other modules work, it's only when I began writing a new module this error appeared.
  4. Replies
    12
    Views
    12,326

    The sockets are blocking. When receiving, I pass...

    The sockets are blocking. When receiving, I pass MSG_WAITALL to recv(), the send() flag is 0. The errno value is 2.
  5. Replies
    12
    Views
    12,326

    I'm afraid trimming down the source takes too...

    I'm afraid trimming down the source takes too much time. But like I said the could could look as a simple tcp server/client.

    I've made some more packet inspection and found out that after the...
  6. Replies
    12
    Views
    12,326

    The code is too large to post. With syscall trace...

    The code is too large to post. With syscall trace I can assume a simple tcp server/client code can be taken. I'm not doing anything special witch the code. Just initialization, connection and...
  7. Replies
    12
    Views
    12,326

    recv returns with 0

    Hello.

    I have a strange problem with TCP sockets. I have a client which connects to the server and sends some 8-byte string message. the send() function returns value 8. Now on the server side...
  8. Thread: precise alarm()

    by napsy
    Replies
    3
    Views
    1,248

    itsme86: thanx that should do.

    itsme86: thanx that should do.
  9. Thread: precise alarm()

    by napsy
    Replies
    3
    Views
    1,248

    precise alarm()

    Is there a way to create an alarm to be precise by a milisecond. Currently I used alarm(), together with the SIGALRM signal but that's too slow. I then tried with gettimeofday() but the cpu had...
  10. Replies
    4
    Views
    2,657

    if (( child = fork() ) < 0 ) /* handle...

    if (( child = fork() ) < 0 )
    /* handle error */
    fprintf(stderr, " %s Fork failed! %s", argv[0], strerror(errno));
    exit(1);

    you are missing { and } for that if.
  11. Replies
    2
    Views
    1,153

    Ok tnx.

    Ok tnx.
  12. Replies
    2
    Views
    1,153

    unix popen equivalent

    What's the Windows API function equivallent for the Unix popen() function to read/write the opened program's stdout/stdin?
  13. Thread: mount list

    by napsy
    Replies
    9
    Views
    5,216

    Or ... how can I get the used and unused space...

    Or ... how can I get the used and unused space used space of the mounted device?
  14. Thread: mount list

    by napsy
    Replies
    9
    Views
    5,216

    mount list

    Hello.

    Is there a linux syscall to get a list of mounted devices?

    Thanks,
    Luka
  15. Replies
    2
    Views
    1,420

    filesystem creation

    Hello!

    I'm designing my own little filesystem(system independent) but I have a big problem. I don't know how to calculate the maximum number of inodes and blocks on the filesystem. Becose of that,...
Results 1 to 15 of 15