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