tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* XTI
@ 2000-10-03 15:41 Ellen Davis
  0 siblings, 0 replies; only message in thread
From: Ellen Davis @ 2000-10-03 15:41 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-10-03 15:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-03 15:41 XTI Ellen Davis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox