From: "Q-ha Park" <qha@infoeq.com>
To: '김치환' <willy@airpoint.co.kr>, linuxppc-embedded@lists.linuxppc.org
Subject: RE: socket programming without RTnet.
Date: Fri, 9 Jan 2004 16:20:16 +0900 [thread overview]
Message-ID: <00bc01c3d681$09486310$2a21a8c0@qha> (raw)
In-Reply-To: <025c01c3d671$a30702a0$21589edd@CHKIMVAIO>
>
> What I want is to make some network applications just as I
> did with vxWorks. A 'network application' means using
> socket/bind/sendto/recvfrom etc APIs to send and receive data
> to/from outside of me or between internal tasks.
>
> I can't figure out what kernel space' and 'userland' mean.
> Well I am strange with embedded linux on ppc860 because I
> stayed with other RTOSs such as vxWorks and Nuclues. Would
> you explain more in detail?
I can see what you're trying to do. You're doing exactly the same thing
I've seen from embedded programmers just came to the great Linux world;
they often tend to call functions under #ifdef __KERNEL__. Don't do
that.
You should learn how to write a user application in linux environment.
i.e. You don't need {init,exit}_module, you don't define __KERNEL__ or
MODULE, you don't insmod to run your program. After that, the command
"man" should come in handy. e.g. man sendto, ...
Q-ha Park
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
prev parent reply other threads:[~2004-01-09 7:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
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='00bc01c3d681$09486310$2a21a8c0@qha' \
--to=qha@infoeq.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=willy@airpoint.co.kr \
/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).