Hiiii,

I am trying to learn some unix programming. I have attached the code i got from my book
"unix network programming"
by, Richard Stevens
A little program that request time from a server. Now for practice im suppose to change it around and play with it. But im not sure how to run it using RedHat. Under solaris it shows you how with "a.out" or something i thought
"gcc -o daytime" would do it? and i tryed "./configure daytime" How close am i

1> Can someone help me compile it and get it running using Redhat .

Im just starting to try to learn programming
I wrote it out under windows Miracle C Workbench only becasue it changes the colors for you and it is easier to see the code, well for me it is. I have attached the code.

I know this may sound dumb and maybe obvious but i tryed to compile it under The miracle c workbench under windows just to see if it would compile and got:

Miracle C Compiler (r3.2), written by bts.
line 1: #include unp.h ignored--file not found.
Compiling c:\documents and settings\administrator\desktop\notes\daytime.c
main

c:\documents and settings\administrator\desktop\notes\daytime.c: line 6: Parse
Error, expecting `']'' or `NUMBER'
'char recvline [MAXLINE + 1]'
aborting compile