🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15694

Re: problem with establishing a socket connection

#15694
From: Michael Appelmans
Date: Tue, 11 May 1999 00:00
24 lines
1246 bytes
What exception do you get? Are you opening the socket to the same IP address
as the applet was loaded from (security requires this)?

Stephan Grimm <Stephan.Grimm@mgm-edv.de> wrote in message
news:3738540A.9CBFAFB0@mgm-edv.de...
I have problems with establishing a connection to a URL when using tho
following code line in an Applet:

socket = new Socket(strHost,MAIL_PORT); // MAIL_PORT = 25 (SMTP)

The Programme simply doesn't return from the Socket constructor without
throwing any Exception.
In an application the same code did work quite correctly.
What's the reason ?
--



-Stephan Grimm-

<Stephan.Grimm@mgm-edv.de>
<grst0018@fh-karlsruhe.de>

GERMANY
Technical Details
Message-ID: <7h9ua8$p1v3@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3738540A.9CBFAFB0@mgm-edv.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,a2990706a5c2835c
X-Google-Attributes: gidf74b3,public
From: "Michael Appelmans" <mappel@123ibm.net>
Subject: Re: problem with establishing a socket connection
Date: 1999/05/11
Message-ID: <7h9ua8$p1v3@forums.borland.com>
X-Deja-AN: 476694981
References: <3738540A.9CBFAFB0@mgm-edv.de>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.language