* Not able to recieve messages using sock_recvmsg()
@ 2004-01-12 10:05 VIJAYABHASKAR
0 siblings, 0 replies; only message in thread
From: VIJAYABHASKAR @ 2004-01-12 10:05 UTC (permalink / raw)
To: linux-kernel
-HI All,
-I am not able to recieve messages using sock_recvmsg()
-Server running on TCP port in kernel space and client is in ser space.
-sending messages to the server, i didn't see any message from client.
-but there is no error while connecting to the server
-This is the code i am using
- msg.msg_name = NULL;
-msg.msg_namelen = 0;
-msg.msg_iov = &iov;
-msg.msg_iovlen = 1;
-msg.msg_control = NULL;
-msg.msg_controllen = 0;
-msg.msg_flags = 0
-len = 0
- len = sock_recvmsg(newsock, &msg, (size_t)buf, 0)
- printk( KERN_ALERT "recieved message is %s",buf)
-But not printing the content of buffer.
-Any help in this regard is highly appreciated
-Thanks
-Bhaskar
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-01-12 10:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-12 10:05 Not able to recieve messages using sock_recvmsg() VIJAYABHASKAR
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).