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: "discussion" <discussion AT sctp.de>
  • Subject: Re: [SCTP-Discussion] Example programs of socketapi
  • Date: Sun Aug 1 22:32:01 2004
  • List-id: SCTP Discussions <discussion.sctp.de>
  • Organization: University Duisburg-Essen

-----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) {

return ? Probably the socketapi library has not yet been tested with
or ported to Solaris...
I suppose it uses linux threads (pthreads) so you may have problems
under Solaris.

Maybe Thomas has an idea as to what exactly went wrong....
I am sure, he will reply to this mail shortly.

Best regards,
Andreas



- --
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)

iD8DBQFBDVKWXAsLBNOCSsARAr/AAJ9h2JBxVxSdnOTfYz14I1OnWdfR7QCguouk
kjsUmiCE7bf6JryNRiS9xi8=
=GrHy
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.19+.

Top of page