Subj : Re: Sending message to user from protocol To : deepthaw From : Ragnarok Date : Fri Nov 13 2020 11:56:17 El 12/11/20 a las 21:32, deepthaw escribió: > I'm working on a bash script to generate a URL to download a requested file via http which can then work as a protocol. > > All of it works, except for sending a message back to the user. I know very little about socket programming, would this involve the socket passed via the %h parameter? > > I tried something similar to: > > echo -e "test message\n" | netcat $1 $2 > > Where $1 and $2 map to %i %h (client ip, socket descriptor). But I don't see anything on the client's end. > > --- > þ Synchronet þ c.o.r.t.e.x 2.0.2.0 | telnet://deepthaw.net > hello! i have implemented a "mailer" protocol, you can check it, is a prof of concept. that the user, select this download protocol instead of zmodem, and sbbs send a email with the url of file ftp://bbs.docksud.com.ar/dsmailer.js --- ■ Synchronet ■ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .