Mercurial
comparison seobeo/os/s_macos_edge.c @ 19:875bb6e10db7
[Seobeo] Chaning Function naming to be easily readable.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Mon, 06 Oct 2025 09:55:34 -0700 |
| parents | fa2b8af609d9 |
| children | c0f6c8c7829f |
comparison
equal
deleted
inserted
replaced
| 18:fa2b8af609d9 | 19:875bb6e10db7 |
|---|---|
| 11 if (ne < 0) continue; | 11 if (ne < 0) continue; |
| 12 for (int i = 0; i < ne; i++) { | 12 for (int i = 0; i < ne; i++) { |
| 13 Seobeo_PHandle h = evlist[i].udata; | 13 Seobeo_PHandle h = evlist[i].udata; |
| 14 if (h == args->srv) { | 14 if (h == args->srv) { |
| 15 Seobeo_PHandle cli = | 15 Seobeo_PHandle cli = |
| 16 Seobeo_Stream_Handle_Accept(args->srv); | 16 Seobeo_Stream_Handle_Server_Accept(args->srv); |
| 17 if (!cli) continue; | 17 if (!cli) continue; |
| 18 struct kevent kev = { | 18 struct kevent kev = { |
| 19 .ident = cli->socket, | 19 .ident = cli->socket, |
| 20 .filter = EVFILT_READ, | 20 .filter = EVFILT_READ, |
| 21 .flags = EV_ADD | EV_ONESHOT, | 21 .flags = EV_ADD | EV_ONESHOT, |