Im trying to write a Simple Client and Server program..
But at this line..
here i get the Following errors..Code:int S; struct sockaddr_in add; S = socket(AF_INET, SOCK_STREAM, 0);
"Undefined Structure 'sockaddr_in' in function main
Size of 'add' is unknown or Zero in Function main
undefined symbol 'AF_INET' in function main.
undefined symbol 'SOCK_STREAM' in function main."
Someone please Help me.
Operating System: WINDOWS
Compiler: Borland