| 137 | // To handle errors, you can add an if condition that checks whether fd is greater than 0. If it isn't, prompt an error |
| 138 | while(1){ |
| 139 | int t = bind(fd, (struct sockaddr *)&serv, sizeof(serv)); //assigns the address specified by serv to the socket |
| 140 | if(t == 0){ |
| 141 | break; |
| 142 | } |
nothing calls this directly
no outgoing calls
no test coverage detected