linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* socket programming without RTnet.
@ 2004-01-08 10:34 김치환
  2004-01-09  4:31 ` Q-ha Park
  0 siblings, 1 reply; 4+ messages in thread
From: 김치환 @ 2004-01-08 10:34 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,

Well, for my socket programming on RTAI patched linux 2.4.20, I tried
to find some socket APIs. But there were any what I expected such as
socket() a standard BSD APIs.

I know I can use the RTnet. But before using it, I want to program a
socket application without the help of RTnet.

Just before I found some APIs starting sys_ net/socket.c like
sys_socket, sys_bind(). To use them I added their symbol in netsyms.c.
And I made a hello-world function using sys_xxx functions.

    Oops: kernel access of bad area

But the problem is that when I loaded my hello-world app as a module
after booting. Why can't I use those APIs? I think loadable module is a
part of kernel.

If I can't use those APIs, is there any good way to make a socket
programming without the help of RTnet?

Willy.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-01-09  7:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-08 10:34 socket programming without RTnet 김치환
2004-01-09  4:31 ` Q-ha Park
2004-01-09  5:30   ` 김치환
2004-01-09  7:20     ` Q-ha Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).