| 75 | */ |
| 76 | |
| 77 | connection *connCreateSocket() { |
| 78 | connection *conn = zcalloc(sizeof(connection)); |
| 79 | conn->type = &CT_Socket; |
| 80 | conn->fd = -1; |
| 81 | |
| 82 | return conn; |
| 83 | } |
| 84 | |
| 85 | /* Create a new socket-type connection that is already associated with |
| 86 | * an accepted connection. |
no test coverage detected