🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #9686

Re: Imitating Telnet

#9686
From: Bob Gonder
Date: Wed, 16 Jun 2004 23:22
11 lines
1718 bytes
Feico wrote:

>        sa.sin_port = (unsigned short) /*sp->s_*/port;
>        if (::connect(socket, (sockaddr *)&sa, sizeof(sa)) < 0)
>        {    ReportError("connection to host failed");   //THIS is executed

Are you absolutely sure that 110 is your SMTP port?
I figure there must be a reason Randy put the "request port" code in
there (which you removed)

>    OpensocketBob("mail.home.nl",110);
Technical Details
Message-ID: <n0l1d05cj1ci6t05en6rn0d8rb0n6nbaip@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <mk4kc0lf2ku8qbgk2n98eav00l9b0552u5@4ax.com> <40ca1c3f$1@newsgroups.borland.com> <ca9kc0pg43rmc29o9t346a4atb3ko8s7n8@4ax.com> <40ca2dc2$1@newsgroups.borland.com> <njuqc0p935q7en7t7hhqekd8lsllierpmp@4ax.com> <t5rrc0llo0s8nkh70nehnltbcf3aainb6r@4ax.com> <2c4tc09vc8jgm32ahuufv9lt8a4ld4j960@4ax.com> <50auc0ljtkbensa9erhvf8hr4rbkjfj5ka@4ax.com> <a7k0d0lm7htcsem1ve3179ld2bcpsj8hbs@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,6ff98bec32bcdef
X-Google-Attributes: gid10cc67,public
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Imitating Telnet
Date: Wed, 16 Jun 2004 16:22:35 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <n0l1d05cj1ci6t05en6rn0d8rb0n6nbaip@4ax.com>
References: <mk4kc0lf2ku8qbgk2n98eav00l9b0552u5@4ax.com> <40ca1c3f$1@newsgroups.borland.com> <ca9kc0pg43rmc29o9t346a4atb3ko8s7n8@4ax.com> <40ca2dc2$1@newsgroups.borland.com> <njuqc0p935q7en7t7hhqekd8lsllierpmp@4ax.com> <t5rrc0llo0s8nkh70nehnltbcf3aainb6r@4ax.com> <2c4tc09vc8jgm32ahuufv9lt8a4ld4j960@4ax.com> <50auc0ljtkbensa9erhvf8hr4rbkjfj5ka@4ax.com> <a7k0d0lm7htcsem1ve3179ld2bcpsj8hbs@4ax.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 65.173.66.53
X-Trace: newsgroups.borland.com 1087428153 65.173.66.53 (16 Jun 2004 16:22:33 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail