Re: SOCK_STREAM socket in kernel space

2010-12-21 Thread Mohammad Hedayati
On Tue, Dec 21, 2010 at 4:23 PM, John Baldwin wrote: > On Tuesday, December 21, 2010 6:39:26 am Mohammad Hedayati wrote: >> I'm about to use a char device for a kind of distributed processing, >> so I've coded the open function as follows. The problem is that >> soaccept returns 0 without populati

Re: SOCK_STREAM socket in kernel space

2010-12-21 Thread John Baldwin
On Tuesday, December 21, 2010 6:39:26 am Mohammad Hedayati wrote: > I'm about to use a char device for a kind of distributed processing, > so I've coded the open function as follows. The problem is that > soaccept returns 0 without populating the raddr. I've checked netstat, > everything seems to b

SOCK_STREAM socket in kernel space

2010-12-21 Thread Mohammad Hedayati
I'm about to use a char device for a kind of distributed processing, so I've coded the open function as follows. The problem is that soaccept returns 0 without populating the raddr. I've checked netstat, everything seems to be fine, the socket is created, bound and the state is LISTENING. Even the