SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] Example programs of socketapi


Chronological Thread 
  • From: Andreas Jungmaier <ajung AT exp-math.uni-essen.de>
  • To: "陈旭晖" <chen_xuhui AT yahoo.com.cn>
  • Cc: "dreibh AT exp-math.uni-essen.de" <dreibh AT exp-math.uni-essen.de>, "discussion" <discussion AT sctp.de>
  • Subject: Re: [SCTP-Discussion] Example programs of socketapi
  • Date: Tue Aug 3 09:52:00 2004
  • List-id: SCTP Discussions <discussion.sctp.de>
  • Organization: University Duisburg-Essen

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Xuhui,

as I suspected in my earlier mail, Solaris is currently not supported
for the socketapi library.

Thomas, can you comment on whether or not is is feasible to port
the socketapi to Solaris ?

However, I suspect that it does not really make sense to spend
a whole lot of time for a Solaris port, since Solaris will support
SCTP in the kernel. See http://playground.sun.com/sctp/

Best regards,
Andreas


Am Dienstag, 3. August 2004 02:56 schrieb 陈旭晖:
> Andreas/Thomas,
> Thank you for your reply.
> I have run the program with the root permissions, or the program would
> report "ERROR: You need root permissions to use the SCTP Library!" but not
> "ERROR: SCTP is not available!".
>
> Regards
> Xuhui
>
>
>
> ======= 2004-08-03 00:05:58 =======
>
> >Zitat von Andreas Jungmaier
> ><ajung AT exp-math.uni-essen.de>:
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >> Am Sonntag, 1. August 2004 16:15 schrieb 陈旭晖:
> >> >Hi,
> >> > I encounter the difficulty when I run the example programs of
> >> > socketapi lib in directory cppsocket_programs. All the programs echo
> >>
> >> "ERROR:
> >> > SCTP is not available!" and exit. And the test program of sctplib
> >> > works well.
> >> >
> >> > The correlative information is:
> >> > SCTPLib : 1.0.1
> >> > SocketApi: 1.3.1
> >> > OS: Solaris2.9(sparc)
> >> > C & C++ compiler: gcc,g++ (Version 3.4.1)
> >>
> >> That may be a problem of some operating system related functions.
> >>
> >> What value does the call to
> >>
> >> if(getuid() != 0) {
> >
> >sctplib uses a raw socket, which requires root permissions. This call
> > checks if you are root (user ID: zero). If you are not root, sctplib
> > cannot work, therefor e socket API will print an error message.
> >
> >The next version of the sctplib will use a daemon, which runs under root
> >permissions. Then, other programs access the SCTP functionality via a Unix
> >socket, making being root unnecessary. The new versions of sctplib and
> > socket API will be released within the next few weeks.
> >
> >
> >Best regards
> >
> >Thomas Dreibholz
> >
> >
> >----------------------------------------------------------------
> >This message was sent using IMP, the Internet Messaging Program.
> >_______________________________________________
> >discussion mailing list
> >discussion AT sctp.de
> >http://www.sctp.de/mailman/listinfo/discussion

- --
Dipl.-Ing. Andreas Jungmaier
Computer Networking Technology Group
University of Duisburg-Essen
http://www.exp-math.uni-essen.de/~ajung
PGP Key-ID: D382 4AC0

PGP Key-Fingerprint: 228C 7C2C 3381 2DD4 9998 2812 5C0B 0B04 D382 4AC0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBD0RBXAsLBNOCSsARAoQZAKDoQbQaUrMNAzr+Sj93Vs42ciH9pwCfeqXr
/cxaKBuU2J1HrN98zNx4L2Q=
=/YdG
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.19+.

Top of page