ok thanks
Type: Posts; User: cnnx
ok thanks
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...
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...
thank you that's exactly what I was looking for!
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...
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...
thanks that did it!
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]);
...
Local console is fine, its via syncterm the backspace key is not being intercepted and replaced by backspace.
#include <stdio.h>
int main(void)
{
char username[16],ch;
int i=0;
printf("\nUsername:");
while(1)
{
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...
I have the following code:
#include <stdio.h>
#include <curses.h>
void main(void)
{
char username[15],ch;
int i=0;
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...
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...
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...