net-server/client/func/runtime_call.c
macbook-pro 2c534781f6 use ggg
2023-12-20 14:53:44 +08:00

24 lines
321 B
C

void runtime_call(){
char a;
int b;
printf("input connection mode\n");
scanf("%c",&a);
for(;a!='q';){
if(a=='1'){
//sync
sync_client();
}
else if(a=='2'){
//trans
}
else if(a=='3'){
//http
}
if(runtime_break){
break;
}
printf("input connection mode again\n");
scanf("%c",&a);
}
}