delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/19/01:25:33

Message-ID: <34EBD003.409C@post.comstar.ru>
Date: Thu, 19 Feb 1998 09:24:03 +0300
From: Dim Zegebart <zager AT post DOT comstar DOT ru>
Reply-To: zager AT post DOT comstar DOT ru
Organization: Comstar Ltd.
MIME-Version: 1.0
To: Asbjorn h kristbjornsson <asbi AT mmedia DOT is>
CC: DJGPP Mail List <djgpp AT delorie DOT com>
Subject: Re: DZCOMM
References: <34EB3E28 DOT 14F7 AT mmedia DOT is>

Asbjorn h kristbjornsson wrote:
> 
> do you have any example programs that send numbers to one computer(or
> both computers send at once)
> and that computer draws a picture on screen useng the numbers as x,y
> cordinates.
> 
> Can dzcomm do this ?
> also can Dzcomm send files betwean computers?
> 
> Cya :)

Hi,
DZComm provides a low level interface to serial harware. It means DZComm
kwons only
about bytes (8-bit). To do a real communication you need some type of
exchange protocol.
For example, let two computers reads and writes in 128 byte long packets
(you treate 128 as
a packet) . Each packet has a header section where you may provide
fields about type of packet.
Again, DZComm is LOW level mean to transmit and receiv bytes via serial
hardware. The actual
exchange protocol depends on you.

-- 
____ ____ 
|   \   /   Dim Zegebart
____/____   

Moscow Russia
WWW - http://www.geocities.com/siliconvalley/pines/7817
DZcomm - comm library for Allegro
Palantir - multytasking kernel for Allegro (based on PDMLWP)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019