>>is it possible to have two different names of one functions
Short answer: no
However, what you could do is put all the common code into a single function which is called by the other two functions
int common_code(int info)
{
// blabla
}
int do_my_server(int info)
{
common_code(info);
}
int do_my_client(int info)
{
common_code(info);
}