From: 김치환 <willy@airpoint.co.kr>
To: <linuxppc-embedded@lists.linuxppc.org>
Subject: socket programming without RTnet.
Date: Thu, 8 Jan 2004 19:34:09 +0900 [thread overview]
Message-ID: <020201c3d5d2$f37e1240$21589edd@CHKIMVAIO> (raw)
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/
next reply other threads:[~2004-01-08 10:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-08 10:34 김치환 [this message]
2004-01-09 4:31 ` socket programming without RTnet Q-ha Park
2004-01-09 5:30 ` 김치환
2004-01-09 7:20 ` Q-ha Park
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='020201c3d5d2$f37e1240$21589edd@CHKIMVAIO' \
--to=willy@airpoint.co.kr \
--cc=linuxppc-embedded@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).