Search:

Type: Posts; User: goodsamaritan

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    12,747

    What you are saying makes sense. Now my code...

    What you are saying makes sense. Now my code looks like this:

    Server


    #include <sys/socket.h>
    #include <netinet/in.h>
    #include <arpa/inet.h>
    #include <stdio.h>
    #include <stdlib.h>
  2. Replies
    6
    Views
    12,747

    Rubbish in range 50 000 - 60 000, even if I...

    Rubbish in range 50 000 - 60 000, even if I memset my from struct.

    I get different rubbish each time a new client connects to the server.

    What can be wrong ? It seems coded book-like and it's a...
  3. Replies
    6
    Views
    12,747

    UDP Sockets in C under Linux

    Problem:
    The server receives the correct number and prints it, prints correctly the IP address but when it comes to port, it prints rubbish:
    What went wrong ?


    This is the client, it reads a...
  4. Replies
    7
    Views
    5,286

    A NULL pointer is used to mark the end of the...

    A NULL pointer is used to mark the end of the "commande" array

    Have you checked this ?
  5. Replies
    5
    Views
    1,315

    What you are being asked to implement is a greedy...

    What you are being asked to implement is a greedy algorithm which has a starting and an ending point. You could mantain at each step two current indexes(line number, column number) and the given...
  6. Replies
    5
    Views
    1,315

    I think if you gave us your assignment statement...

    I think if you gave us your assignment statement too you would have had more chances to get an answer.
Results 1 to 6 of 6