Search:

Type: Posts; User: kaijuu

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,858

    ok i got the forking thing to work, i broadcast...

    ok i got the forking thing to work, i broadcast between a few servers to find a file. if a server has the file it replies to the broadcast but i need to find out the ip address for that replying...
  2. Replies
    6
    Views
    1,858

    thanks for that next problem

    how about taking a recived message and reading the ip address from it.

    agein is it possible and how is it done
  3. Replies
    6
    Views
    1,858

    communication between forks

    hi quick question

    can you communicate variubles between forks and if so how
  4. Replies
    1
    Views
    1,417

    multiplexing help

    can any one help tell me if this code will work or if im barking up the wrong tree


    #include <stdio.h> /* for printf() and fprintf() */
    #include <sys/socket.h> /* for socket(), bind(), and...
  5. Thread: multiplexing

    by kaijuu
    Replies
    0
    Views
    5,509

    multiplexing

    this is the code i was given for multiplexing


    #include "TCPEchoServer.h" /* TCP echo server includes */
    #include <sys/time.h> /* for struct timeval {} */
    #include <fcntl.h> /*...
  6. Replies
    9
    Views
    2,022

    so can you sugesst a way to get similer results...

    so can you sugesst a way to get similer results in a different way then
  7. Replies
    9
    Views
    2,022

    ok i better explain what im tring to do here ...

    ok i better explain what im tring to do here

    i have 10 clients and 1 server and im using sockets to connect them

    imagin them like fingers.

    my server asks which client the user would like to...
  8. Replies
    9
    Views
    2,022

    k sorry i dont quite understand this bu im tring ...

    k sorry i dont quite understand this bu im tring

    will this work

    have all ten of my clients keep trying to set up a connection and have my server only alow the connection to the one it needs to...
  9. Replies
    9
    Views
    2,022

    on a different note

    hi a different problem i need the server to initiate the connection with the server all the code ive seen has the client conect to the server how to i do this
  10. Replies
    9
    Views
    2,022

    sockets programming

    hi i have a small problem this is the code i was given for creating a socket


    if (argc != 2) /* Test for correct number of arguments */
    {
    fprintf(stderr, "Usage: %s <Server...
  11. Replies
    7
    Views
    1,235

    just another thought could i save the image...

    just another thought

    could i save the image on to the client computer and say, send a short string to the client and when it recives this string it displays the image that is stored in its...
  12. Replies
    7
    Views
    1,235

    just to clerify when you change a image to binary...

    just to clerify when you change a image to binary you read it to c like a txt document and send that over the socket

    so how would i change it back from binary at the other end and display it on...
  13. Replies
    7
    Views
    1,235

    yeah its based on sockets and the images are...

    yeah its based on sockets and the images are saved on both client and servers
  14. Replies
    7
    Views
    1,235

    dont know were to start

    hi im currently trying to write a small program for my final project about networks but i really dont know were to start on it

    this is what im tring to do

    im using c to make a server send and...
  15. Replies
    8
    Views
    1,194

    sorry that works fine the cin i was struggiling...

    sorry that works fine the cin i was struggiling because fgets kept giving me an error thanks a bunch
  16. Replies
    8
    Views
    1,194

    a new day a new problem

    hi im having a bit of a problem with a gets function


    void store::findF(void)
    {
    int i = 0;
    bool serch = false;
    char person[20];

    //system("cls");
  17. Thread: switch function

    by kaijuu
    Replies
    24
    Views
    2,883

    k i understand that my knolage is laking but i...

    k i understand that my knolage is laking but i only have two days left on this project and i just need to get it working please help
  18. Thread: switch function

    by kaijuu
    Replies
    24
    Views
    2,883

    anotther one when i call this function it...

    anotther one

    when i call this function it prints out eurika 12 times


    void store::findF(void)
    {
    int i = 0;
    bool serch = false;
    char person[20];
  19. Thread: switch function

    by kaijuu
    Replies
    24
    Views
    2,883

    k i took out the get char and it worked thanks...

    k i took out the get char and it worked thanks agein
  20. Thread: switch function

    by kaijuu
    Replies
    24
    Views
    2,883

    k i changed the while but the cin cant be removed...

    k i changed the while but the cin cant be removed do i have to use the cin.ignore agein or am i barking up the wrong tree
  21. Thread: switch function

    by kaijuu
    Replies
    24
    Views
    2,883

    hi thanks for all the help so far the code i use...

    hi thanks for all the help so far the code i use is just what i was told to do during my c++ course though all corrections have been made a note of so i can use them in the future

    another snag...
  22. Thread: switch function

    by kaijuu
    Replies
    24
    Views
    2,883

    k i got it mostly working but for some reason the...

    k i got it mostly working but for some reason the first two questions print in a single line

    void people::enter(int i)
    {
    char k = 'y';
    while (k == 'y')
    {
    cout <<...
  23. Thread: switch function

    by kaijuu
    Replies
    24
    Views
    2,883

    thanks i didnt notice that

    thanks i didnt notice that
  24. Thread: switch function

    by kaijuu
    Replies
    24
    Views
    2,883

    could you fix this for me as well as that worked...

    could you fix this for me as well as that worked fine


    char k = 'y';
    while (k == "y");
  25. Thread: switch function

    by kaijuu
    Replies
    24
    Views
    2,883

    but wouldnt that stop me getting the users answer

    but wouldnt that stop me getting the users answer
Results 1 to 25 of 39
Page 1 of 2 1 2