Search:

Type: Posts; User: cnnx

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,114

    ok thanks

    ok thanks
  2. Replies
    4
    Views
    1,114

    so the server doesn't *have* to stay in a...

    so the server doesn't *have* to stay in a listenning mode all the time? it can accept input from the keyboard and send it while receiving data on hte same socket? would i need something like ncurses...
  3. Replies
    4
    Views
    1,114

    C networking programming question

    So I've been reading the Beej's guide to network programming lately and have this question.. I'd like to get the server.c and client.c they show to have this functionality when run:

    1. Send...
  4. thank you that's exactly what I was looking for!

    thank you that's exactly what I was looking for!
  5. Using ncurses with 1 output window updating and 1 input from keyboard?

    Hi.. I'm trying to write a C function that will have 2 windows, 1 the user can type whatever they want and the other window is updating data in realtime from a counter, a file, a db, or anything...
  6. Replies
    1
    Views
    408

    tcp/ip networking C program guidance

    Okay so I've been working on a C program that's sort of self-contained and I would like to add the ability for it to communicate with another instance of itself running on another server on the...
  7. Replies
    2
    Views
    694

    thanks that did it!

    thanks that did it!
  8. Replies
    2
    Views
    694

    Need help with a segmenation fault

    Hi, I'm having a problen with a certain function I wrote in C on Linux and I'm using the gdb to try to debug it. This is the prototype and the function:



    char * Query(char string2[300]);
    ...
  9. Thread: Help with C code

    by cnnx
    Replies
    10
    Views
    572

    Local console is fine, its via syncterm the...

    Local console is fine, its via syncterm the backspace key is not being intercepted and replaced by backspace.
  10. Thread: Help with C code

    by cnnx
    Replies
    10
    Views
    572

    #include int main(void) { char...

    #include <stdio.h>

    int main(void)
    {
    char username[16],ch;
    int i=0;
    printf("\nUsername:");

    while(1)
    {
  11. Thread: Help with C code

    by cnnx
    Replies
    10
    Views
    572

    I've added the check, it no longer does a...

    I've added the check, it no longer does a segmentation fault but also doesn't print the username with the printf statement. Is this because I'm using curses.h?



    #include <stdio.h>
    #include...
  12. Thread: Help with C code

    by cnnx
    Replies
    10
    Views
    572

    Help with C code

    I have the following code:


    #include <stdio.h>
    #include <curses.h>

    void main(void)
    {
    char username[15],ch;
    int i=0;
  13. Replies
    1
    Views
    420

    C compiler kit with book

    Do you guys remember the 1990's when you could buy a copy of Borland Turbo C and it would come in a solid color box with disks and a big manual with all the functions described?

    Is there currently...
  14. Thanks for the reply, I'm actually writting a BBS...

    Thanks for the reply, I'm actually writting a BBS program like the ones written in the 1990's. Do you suggest I just stick to one client like plain old linux telnet to test all of my work? Rather...
  15. readline() function from UNP book and syncterm

    I'm writting a program that uses the readline() function that comes in the Unix Network Programming book, when I use telnet to connect to my server the function reads the input perfectly displaying...
Results 1 to 15 of 15