Socket Programming socket

Hello,

I actually try to make client-server program.
I'm using SCO OpenServer Release 5.0.0 and when I try to compile my code (by TELNET) I've got this error :

I'm just using this simple code :

and I get the same error if I use :

If someone can help me,
Thanks

I'm sorry....
I just search a bit more on the forum and I find something...

cc test.c -lsocket

and It works...:rolleyes:

Perhaps....I will need to send mail, send SMS, reboot computer (so using shell command), so I guess I will need a lot of librairies!

So thank you!!!