nanogui: Another problem when run nano-X
Subject:
Re: [nanogui] Another problem when run nano-X
From:
Wilson Loi ####@####.####
Date:
6 Jul 2005 09:48:53 +0100
Message-Id: <fa51fa39050706014891c053c@mail.gmail.com>
You cannot run "touch /tmp/nano-X" first. It is not necessary.
You should always run "unlink("/tmp/nano-X")" before running your nanox
program.
2005/7/6, 肖韧 ####@####.####
>
> Hi, All
>
> Thanks for your kindly help! I've solved the socket() call failure problem
> by means of rebuild the kernel modules.
>
> But now another problem emergies, after successfully calling
> socket(AF_UNIX, SOCK_STREAM, 0) and get a handle of unix domain socket,
> nano-X call bind() routine, but this time it failed again, errno is
> 1(EPERM), which means 'operation not permited'.
>
> BTW, I've mount a writeable FAT ramdisk filesystem on /tmp and I have
> changed the socket name from '.nano-X' to 'nano-X' in source code because
> FAT file system don't seem to support the former file name. If I create a
> file by means of 'touch /tmp/nano-X' and run nano-X, bind() will also fail
> and errno will be 98(EADDRINUSE) which means 'address already in use'
>
> Could you please help me on this? thanks again!
>
> Ray
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>