Article View: borland.public.cppbuilder.internet.socket
Article #5163Re: Internet Newbie Question
From: Elmar Baumann
Date: Tue, 12 Oct 2004 17:04
Date: Tue, 12 Oct 2004 17:04
42 lines
2249 bytes
2249 bytes
Thanks Hans, i've written a SMTP-Server and SMTP-Client, my Router Adress was xx.xx.xx.xx (192.168.0.1) two Computers was connected to the Router 1st 192.168.0.100, 2nd 192.168.0.101 1. starting SMTP-Server on 192.168.0.101 Port 25 2. starting SMTP-Client on 192.168.0.101 Port 25 3. setting IdSMTP->Host to "localhost" or "192.168.0.101" 4. send mail with smtp-client using smtp-server works good. 5. setting IdSMTP->Host to "xx.xx.xx.xx" or "xx.xx.xx.xx:25" 6. send mail with smtp-client using smtp-server raised an exception "Socket Error #10061 - Connection refused" Elmar . "Hans Galema" <dontusethis@dontusethis.nl> schrieb im Newsbeitrag news:416bfe41$1@newsgroups.borland.com... > Elmar Baumann wrote: > > > I want to connect my Notebook over a Dial-In Network to Internet, then i > > would start a Client-Application > > on my Notebook wich makes a connection to a running Server-Application to > > the ADSL connected > > Computer. Is it possible to make this Connection without a Internet-Server?? > > Whatever you mean with an Internet-Server the answer is yes provided: > > - server and client communicate using tcp/ip > - your client uses internet-IP:portnumber > - the internet-IP is the IP of your router > - your router forwards incoming requests on > internet-IP:port to local-IP:port > > Hans.
Technical Details
Message-ID:
<416c0ebe@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<416bfbe7@newsgroups.borland.com> <416bfe41$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,942271b33639052b,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Elmar Baumann" <elmar-baumann@arcor.de> Newsgroups: borland.public.cppbuilder.internet.socket References: <416bfbe7@newsgroups.borland.com> <416bfe41$1@newsgroups.borland.com> Subject: Re: Internet Newbie Question Date: Tue, 12 Oct 2004 19:04:55 +0200 Lines: 44 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 NNTP-Posting-Host: 82.83.18.92 Message-ID: <416c0ebe@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1097600702 82.83.18.92 (12 Oct 2004 10:05:02 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail