server for ex-star(C/C++)