mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Very Urgent !! (2'nd Post)  Not able to recieve messages using sock_recvmsg()
@ 2004-01-12 11:11 VIJAYABHASKAR
  0 siblings, 0 replies; 2+ messages in thread
From: VIJAYABHASKAR @ 2004-01-12 11:11 UTC (permalink / raw)
  To: linux-kernel; +Cc: Atul V Kulkarni, Arvind Kumar

-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


^ permalink raw reply	[flat|nested] 2+ messages in thread
[parent not found: <200401121736.09720.krishnakumar@naturesoft.net>]

end of thread, other threads:[~2004-01-12 12:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-12 11:11 Very Urgent !! (2'nd Post) Not able to recieve messages using sock_recvmsg() VIJAYABHASKAR
     [not found] <200401121736.09720.krishnakumar@naturesoft.net>
2004-01-12 12:21 ` VIJAYABHASKAR

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