Re: Newbies tcpserver question [slightly offtopic]

2001-02-22 Thread Kris Kelley
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

Newbies tcpserver question [slightly offtopic]

2001-02-22 Thread John Peterson
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. ...