Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

Socket Program.

Hi,everybody

I have build a socket program,it has server and client program.

I will run server on De2 board and client on PC.

But I have problem.

Client is excute on "colinux" or "NiosII SDK shell"?

How to compile client program and run on PC?

I don't know "compile" and "excute" command on colinux?

Need your help!

NiosQ

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You can use gcc to compile your client program, and run it within coLinux shell. But coLinuxs needs a virtual network adaptor driver to access network interface (or bridge) from Windows. You may read the wiki of coLinux or Blackfin.

    I would suggest you install a native Linux on one partition of your PC, eg CentOS 4.4. It would be easier than coLinux for a newbie.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by hippo@Mar 21 2007, 10:14 AM

    you can use gcc to compile your client program, and run it within colinux shell. but colinuxs needs a virtual network adaptor driver to access network interface (or bridge) from windows. you may read the wiki of colinux or blackfin.

    i would suggest you install a native linux on one partition of your pc, eg centos 4.4. it would be easier than colinux for a newbie.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=22395)

    --- quote end ---

    --- Quote End ---

    Hi,hippo

    Your are Nios God!

    great!

    thank for your response.

    I&#39;m a Nios newbie. If i use centOS ,then how to setup network?

    I use centOS just compile client program and run it.

    Can you teach me how to compile client program and run it on CentOS?

    thank your very much!

    NiosQ