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