kaio
[Top] [All Lists]

Re: a test program for serial or sockets?

To: Jeff Graham <jgraham@xxxxxxxxxxxxxx>
Subject: Re: a test program for serial or sockets?
From: Rajagopal Ananthanarayanan <ananth@xxxxxxx>
Date: Tue, 21 Nov 2000 13:30:18 -0800
Cc: kaio@xxxxxxxxxxx
References: <3A1AE35C.CEB5CE9E@xxxxxxxxxxxxxx>
Sender: owner-kaio@xxxxxxxxxxx
Jeff Graham wrote:

> Noticed that the Makefile for the library does not make a static lib.
> So I added one.
> 
> Also, if you are using C++, don't forget to do the special
>         extern "C"
>             {
>             #include <linux/aio.h>
>             }
> 
> to help the linker demangle the c calls.

I'll add this information to the FAQ and/or readme file.

> 
> I built a test program ( morphed one from the ACE library) and it is working. 
> It
> does file i/o though.
> 
> Does anyone have a test for sockets or serial ports?

There was a program that used sockets from Christopher Smith.
Have a look at the mail archives:

http://oss.sgi.com/projects/kaio/archive/kaio.9912

I think the program was used to simulate a http server, IIRC.
May be Chris can expand on it?

regards,


--------------------------------------------------------------------------
Rajagopal Ananthanarayanan ("ananth")
Member Technical Staff, SGI.
--------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>