// SetIdentity sets the identity option for the socket func (s *Sock) SetIdentity(val string) { C.zsock_set_identity(unsafe.Pointer(s.zsockT), C.CString(val)) }
// SetIdentity sets the identity option for the socket func (s *Sock) SetIdentity(val string) { cVal := C.CString(val) defer C.free(unsafe.Pointer(cVal)) C.zsock_set_identity(unsafe.Pointer(s.zsockT), cVal) }