Shouldn't this be `setTcpCork`? I guess you renamed some methods after generating this header file.