1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

support listen and accept framework

This commit is contained in:
winlin 2013-10-18 16:23:06 +08:00
parent 5b02f9c78b
commit d8a64603c0
9 changed files with 332 additions and 10 deletions

View file

@ -36,5 +36,13 @@ int main(int /*argc*/, char** /*argv*/){
return ret;
}
if ((ret = server.start(19350)) != ERROR_SUCCESS) {
return ret;
}
if ((ret = server.cycle()) != ERROR_SUCCESS) {
return ret;
}
return 0;
}