× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm not exactly sure which route to take...I've tried the RUNRMTCMD with 
the PCs IP Address but it fails with CPE3425...

also, just as a side note, every PC in the company is going to have to 
have access to this option...anyone who signs on to the webfaced 
application will have to be able to open up a specified folder on the 
IFS...

I guess I'm gonna have to go the sockets route...sounds like fun to me...

Shane Cessna  
iSeries Programmer
iSeries WAS Administrator
North American Lighting, Inc.
(618) 662-4483 x2776
shane_cessna@xxxxxxx
-- A program is never finished until the programmer dies. 



"albartell" <albartell@xxxxxxxxx> 
Sent by: java400-l-bounces@xxxxxxxxxxxx
07/26/2005 09:38 AM
Please respond to
Java Programming on and around the iSeries / AS400 
<java400-l@xxxxxxxxxxxx>


To
"'Java Programming on and around the iSeries / AS400'" 
<java400-l@xxxxxxxxxxxx>
cc

Subject
RE: connecting to PC with IP Address...






And if you wanted to take out all of the learning curve of doing raw 
sockets
(and all the "fun" that comes with it) you could just install a stripped
down version of Tomcat on the PC. That way all you would need to do is 
write
a regular old servlet that would listen for requests.

Tomcat may be overkill for your situation though so make sure there is a
good enough reason to load it.

Speaking of your situation, I have always wondered how technologies like
GoToMyPc.com and MyWebExPc.com work?  I know they are running a Java 
client
that some how broadcasts its IP address to a main server which then allows
me to connect to my home PC from where ever I am.

Aaron Bartell 

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx 
[mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of David Gibbs
Sent: Tuesday, July 26, 2005 8:34 AM
To: java400-l@xxxxxxxxxxxx
Subject: Re: connecting to PC with IP Address...

Shane_Cessna@xxxxxxx wrote:
> thanks for the replys guys...however, this is going to be for a 
> webfaced application and I can't run a STRPCO or STRPCCMD from an 
> interactive webfaced session...

If you know the IP of the PC invoking the application, you should be able 
to
execute a RUNRMTCMD.

> David, what do you mean by "write a server"...meaning create a server 
> object?...

Well, kind of.  I'm specifically talking about writing a server PROGRAM
that runs on the PC you want your application to talk to.   Assuming
it's written in Java (this is the Java 400 list), that program would 
create
a ServerSocket object and listen for a connection.

david

--
David Gibbs
david@xxxxxxxxxxxx

Receipt of this message does not grant you permission to send me 
Unsolicited
Commercial Email

--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/java400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.