From: "VIJAYABHASKAR" <vijayabhaskar@tataelxsi.co.in>
To: <linux-kernel@vger.kernel.org>
Cc: "Atul V Kulkarni" <atulk@tataelxsi.co.in>,
"Arvind Kumar" <akumar@tataelxsi.co.in>
Subject: Very Urgent !! (2'nd Post) Not able to recieve messages using sock_recvmsg()
Date: Mon, 12 Jan 2004 16:41:33 +0530 [thread overview]
Message-ID: <003c01c3d8fc$d7411230$501e010a@telxsi.com> (raw)
-HI All,
-I am not able to recieve messages using sock_recvmsg()
-Server running on TCP port in kernel space and client is in user space.
Client is sending the messages and server recieving them and no error
observed while recieving.
But i couldn't able to get the messages
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
next reply other threads:[~2004-01-12 11:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-12 11:11 VIJAYABHASKAR [this message]
[not found] <200401121736.09720.krishnakumar@naturesoft.net>
2004-01-12 12:21 ` VIJAYABHASKAR
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='003c01c3d8fc$d7411230$501e010a@telxsi.com' \
--to=vijayabhaskar@tataelxsi.co.in \
--cc=akumar@tataelxsi.co.in \
--cc=atulk@tataelxsi.co.in \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome