delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/04/18:11:22

Sender: nate AT cartsys DOT com
Message-ID: <35C74340.22CE48F5@cartsys.com>
Date: Tue, 04 Aug 1998 10:22:08 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: "Jorge Iván Meza Martínez" <jimeza AT usa DOT net>
CC: djgpp AT delorie DOT com, "Xee'Gh" <pekkaka AT dlc DOT fi>
Subject: Re: how to send bytes to a stream
References: <016201bdbf01$e4351b00$0a1f1bc4 AT enterprise-z>

Jorge Iván Meza Martínez wrote:
> 
> Hi,
> I am interested in create a mail program with DJGPP; in java you create a
> PrintWriter to send bytes to the server and send thru them the SMTP
> commands;
> how can open a stream to a server ( usign socket ) with DJGPP ?

Get one of the packages like libsocket.  These interface to the Windows
Winsock scheme, and present a BSD-style socket interface (socket, bind,
etc).  I think those docs are with it, or you can read man pages on a
Unix box.
-- 

Nate Eldredge
nate AT cartsys DOT com


- Raw text -


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