Sender: nate AT cartsys DOT com Message-ID: <35C74340.22CE48F5@cartsys.com> Date: Tue, 04 Aug 1998 10:22:08 -0700 From: Nate Eldredge MIME-Version: 1.0 To: "Jorge Iván Meza Martínez" CC: djgpp AT delorie DOT com, "Xee'Gh" Subject: Re: how to send bytes to a stream References: <016201bdbf01$e4351b00$0a1f1bc4 AT enterprise-z> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Precedence: bulk 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