From: Ellen Davis <daviser () email ! uc ! edu>
To: tru64-unix-managers
Subject: XTI
Date: Tue, 03 Oct 2000 15:41:17 +0000 [thread overview]
Message-ID: <97058744315368.tru64-unix-managers.marc@archive.invalid> (raw)
Hello,
A user on my system (AlphaServer 1000A, Tru64 4.0F) sent me the below
program. When it is compiled (with -lxti) and run, is produces the message
"syserr". I believe that this may be due to the fact that I do not have
X/Open Transport Interface (XTISO, TIMOD, TIRDWR) configured in the kernel
as described int he Network Programmers Guide (section 3.8 Configuring
XTI Transport Providers). Is my assumption correct?
The user is a professor who want his class to be able to use XTI. If I do
configure it in the kernel, are there any security concerns?
#include <xti.h>
#include <fcntl.h>
#include <stdio.h>
int main(){
int fd;
if((fd=t_open("/dev/streams/xtiso/udp",O_RDWR,NULL))<0){
if(t_errno==TBADNAME) printf("badname\n");
if(t_errno==TPROTO) printf("proto\n");
if(t_errno==TSYSERR) printf("syserr\n");
printf("t_open\n"); exit(1); }
}
Ellen Davis
Ellen.Davis@uc.edu
reply other threads:[~2000-10-03 15:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox