Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Winboard, programming, chess servers

Author: Robert Hyatt

Date: 05:44:21 04/20/00

Go up one level in this thread


On April 20, 2000 at 07:05:01, Jan Pernicka wrote:

>  Hi,
>I would like to know what is neccessary for my program to be able to play
>on a chess server. I know, that it should comunicate with Winboard and
> to accomplish this non-buffered I/O should be used.
>  But is it all?
>  What I/O non-buffered operations are "commonly" used in C language?
>  Maybe, piece of code could everything explain...
>(I'm not interested in how to ask the admins for playing on that server...)
>
> Thanks in advance
>
>      Jan


I use read()/write() which is quite easy.  The other choice is to use normal
I/O (scanf()/etc) but set the buffer size to zero using setbuf().



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.