//UtpClose closes socket func (s *UtpSocket) UtpClose() { delete(s.ctx.sockets, s.s) C.utp_close(s.s) s.ctx = nil s.s = nil s.userdata = nil }
func (s *UTPSocket) Close() { C.utp_close(s.raw) }