one more problem....
I am having
structure clientinfo
{
char clientip[32];
char spi;
};
I am running multi-client server program...
here I need to maintain a database for client info .. every time I need to check clientip address,if it is not there ,then I nedd ro add....
so I took
struct clientinfo clientdb[10];
So I can make 10 ip addresses...
how can I check the each ipaddress.. from the database..? & how to store ....?
and max.limit is 10.