title: Send data from linux kernel module
body: <p>I want to send some data via tcp from my linux kernel module.
  I have tried to use some code from  <a href="http://www.avrfreaks.net/sites/default/files/tcp-server-send-recv." rel="nofollow noreferrer">http://www.avrfreaks.net/sites/default/files/tcp-server-send-recv.c</a> , but there are too old code(it used old linux kernel api).
  Also, I have tried to understand <a href="https://github.com/abysamross/simple-linux-kernel-tcp-client-server/blob/master/network_server.c" rel="nofollow noreferrer">https://github.com/abysamross/simple-linux-kernel-tcp-client-server/blob/master/network_server.c</a> , but it is too sophisticated for me:)</p>
  <p>I want only send some small data to specified ip adress via tcp. How I can do it?</p>