mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "VIJAYABHASKAR" <vijayabhaskar@tataelxsi.co.in>
To: <linux-kernel@vger.kernel.org>
Subject: Not able to recieve messages using sock_recvmsg()
Date: Mon, 12 Jan 2004 15:35:48 +0530	[thread overview]
Message-ID: <003301c3d8f3$a7b0cbe0$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 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


                 reply	other threads:[~2004-01-12 10:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='003301c3d8f3$a7b0cbe0$501e010a@telxsi.com' \
    --to=vijayabhaskar@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