* my god , I have tried to solve this problem for 2 days!
@ 2008-05-16 11:42 cyx_mail
2008-05-19 5:15 ` James Cameron
0 siblings, 1 reply; 2+ messages in thread
From: cyx_mail @ 2008-05-16 11:42 UTC (permalink / raw)
To: linux-ppp
I just want to know, can I use IPC in pppd and pppoe-server?
I put some code in both pppoe-server and pppd , let them communicate with each other. using shared memory. shmget functions etc.
But pppoe-server can't get the right data that pppd has write to the shared memory. I have test my lib functions and it just work right. So , why ? is it chance that I can't use IPC in pppd? my god ,I have worked on this problem for 2 days :(
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: my god , I have tried to solve this problem for 2 days!
2008-05-16 11:42 my god , I have tried to solve this problem for 2 days! cyx_mail
@ 2008-05-19 5:15 ` James Cameron
0 siblings, 0 replies; 2+ messages in thread
From: James Cameron @ 2008-05-19 5:15 UTC (permalink / raw)
To: linux-ppp
I know nothing that would prevent IPC from working between a pppd plugin
and another program. IPC shmget technique needs to have the same keys,
and the same process UID and GID. Check that. Use ipcs to view the IPC
shared memory segments created.
--
James Cameron http://quozl.netrek.org/
HP Open Source, Volunteer http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-19 5:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-16 11:42 my god , I have tried to solve this problem for 2 days! cyx_mail
2008-05-19 5:15 ` James Cameron
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.