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