Search:

Type: Posts; User: PiJ

Search: Search took 0.00 seconds.

  1. To my mind it does give a warning for the...

    To my mind it does give a warning for the explained scenario.

    Following the link from above, approximately in the middle of the page is an example of what is intended to be supported in the...
  2. After a little more research using the gcc...

    After a little more research using the gcc mailing list I got an answer to my question:

    http://gcc.gnu.org/wiki/NewWconversion
  3. Show compiler warning/error when passing int although unsigned int is expected

    Hello everyone,

    consider the following code example:



    void func(unsigned int _u)
    {
    //do a lot of stuff
    }
  4. Forget my 2nd question, under windows the macro...

    Forget my 2nd question, under windows the macro is not supported, I tried some minutes ago but there was nothing to find.

    Thanks for your help, the important thing was to get select() working and...
  5. OK, that means putting the FD_COPY in the loop...

    OK, that means putting the FD_COPY in the loop after creating the fileset before, correct?.

    One question to that, does the macro FD_COPY work under windows, too?
  6. I think I found the reason, without really...

    I think I found the reason, without really knowing why this doesn't work the way I posted above.

    When putting the FD_SET macros in the do-while loop everything works like it should.
    But the...
  7. I think it's like salem says. The UDP packets,...

    I think it's like salem says. The UDP packets, including the information about the length, are sent to the socket. If the length (or the "checksum") is correct the packet will be delivered on the...
  8. Hello Mats and thanks for the fast reply. I...

    Hello Mats and thanks for the fast reply.

    I don't think that the receive function checks this (In fact, I guess I read about this the first time, so maybe I do not exactly know what you mean)....
  9. Running two UDP server simultaneously using select()

    Hello to everyone,

    I'm trying to run two UDP server using the function select().
    Here is the code, further information follows below:


    int main(void)
    {
    int port1 = 1234;
    int port2 = 1322;
Results 1 to 9 of 9