John Peterson
> Im trying to get tcpserver to work with my simple
> program written in C. However, Im getting unexpected
> results...
> ...
> printf("Welcome! Enter your name\n");
> scanf("%s",name);
> printf("Hello %s",name);
> ...
> --
> bash-2.04$ telnet
Hi,
Im trying to get tcpserver to work with my simple
program written in C. However, Im getting unexpected
results. My programm on execution is supposed to print
a welcome message to stdout, then read text from stdin
, then writes into stdout again. The source code looks
something like this.
...