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