| 89 | } |
| 90 | |
| 91 | int plat_bind(int fd, const struct sockaddr *addr, socklen_t addrlen) { |
| 92 | #ifdef FL_IS_WIN |
| 93 | return fl::bind(fd, addr, addrlen); |
| 94 | #else |
| 95 | return ::bind(fd, addr, addrlen); |
| 96 | #endif |
| 97 | } |
| 98 | |
| 99 | int plat_listen(int fd, int backlog) { |
| 100 | #ifdef FL_IS_WIN |