XTI

From: Ellen Davis <daviser_at_email.uc.edu>
Date: Tue, 03 Oct 2000 11:41:17 -0400

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_at_uc.edu
Received on Tue Oct 03 2000 - 15:40:20 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT