Replaced both close with shutdown. Skipped the first one, because fd is not yet setup for transport.
Is a normal close enough? I tried with shutdown, and received the error "Transport endpoint is not connected" so I left a comment explaining things (:
Replaced both close with shutdown. Skipped the first one, because fd is not yet setup for transport. Is a normal close enough? I tried with shutdown, and received the error "Transport endpoint is not connected" so I left a comment explaining things (: