net-server/client/func/runtime_call.c
2023-12-20 09:40:51 +08:00

19 lines
223 B
C

void runtime_call(){
char a;
printf("input connection mode\n");
a=getchar();
for(;;){
if(a=='1'){
//sync
sync_client();
}
else if(a=='2'){
//trans
}
else if(a=='3'){
//http
}
a=getchar();
}
}