This will initialize the s3d-library and the connection to the Server. It will return 0 on success in Server initializion. name specifies the your programs name.
int main(char argc, char **argv)
{
if (!s3d_init(&argc,&argv,"Hello world"))
{
...
s3d_quit();
}
return(0);
}