* send and recv function for UDP
@ 2003-03-25 9:12 shesha bhushan
0 siblings, 0 replies; only message in thread
From: shesha bhushan @ 2003-03-25 9:12 UTC (permalink / raw)
To: linux-kernel, kernelnewbies
Hi all,
An I use sock_recvmsg() sock_sendmsg() function to send data on a UDP socket
opened in a kernel module?
The problem is, when I use sock_recvmsg at the server side, it will not
wait at all for the client to send data. It behaves asynchronously. It will
come out with received count as zero.
I cannot use, sock_read since I cannot get the (struct file *), a required
parameter and there is no function like sock_recvfrom which is conunter part
of recvfrom for kernel programming.
These were the options I tried. Could any one suggest how to come around the
problem for sending data using UDP in a kernel module.
Thanking You
Shesha
_________________________________________________________________
Call US for just Rs. 5. http://www.msn.co.in/webtelephony/ Get a phone card
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-03-25 9:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-25 9:12 send and recv function for UDP shesha bhushan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®