Linux kernel module tcp connection

I am writing a kernel module which requires a tcp connection and it is really hard to find up-to-date manuals/examples/tutorials. I need the kernel module to be the client, to send and recive data and ssl encryption required too. Which of the dozen kernel tcp interfaces fits my needs and is the latest one?

Answers


I would suggest to do such application (TCP/SSL) in user space and have a way to share buffer between userspace and kernel space to avoid copy overhead. Keep the kernel module processing simple and quick.


Need Your Help

Create WAV stream in memory

naudio

I have a URL to MP4 audio file that I need to send to Speech-To-Text API. The API accepts only WAV stream. I am using NAudio 1.7.3 and the following code to download the file and to get the appropr...