× 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.



Le ven. 06 mai 2005 11:57:51, Rob Dixon écrivait:

> Marc
> 
> Marc Rauzier wrote:
> 
>>Le ven. 06 mai 2005 10:52:30, Rob Dixon écrivait:
>>
>>  
>>
>>>5250 emulators use port 23.  WSG uses other ports.  If I can find
>>>out which port is in use, I think that would solve the problem. 
>>>Can I do this and if so how?
>>>
>>>    
>>>
>>
>>The default port of the WSG server is 5061.
>>
> This I know and once you have logged on, it changes all the time. 

I don't understand that. The client port should change all the time (at 
new connection) but the server port shoud not change. It should allways 
be 5061 (by default). 

It is the same thing for the telnet server. The client port changes at 
every new connection, but the server port still remains 23.

> If I could test for port number then, if it was port 23, I would
> know that I am using an emulator.
> 

I don't know how WSG works really, but, if you look at netstat option 
3, don't you have a connection on the port 23 *and* a connection on the 
port 5061 at the same time for a WSG session ?

If my assumption is right, it could be an help for your problem.

>> Take a look here for 
>>information about the WSG :
>>
>>http://publib.boulder.ibm.com/iseries/v5r1/ic2924/info/rzal3/rzal3o
>>verv iew.htm
>>
>>(or http://minilien.com/?McsuC7vZnU)
>>
>>To solve your problem, you can maybe try to play with the exit
>>program associated with the server. Something like : the exit
>>program setup a flag for the IP address which means that it is
>>used by WSG. If there is no flag for the IP address, it means that
>>it is used by a pure telnet session. Just an idea.
>>
> Unless I have misunderstood, this would not work as both WSG and
> telnet use the same IP
> 

What I wanted to mean is the following (excuse my poor english) :

* the WSG exit program setup in a flag in a file for the IP address to 
say : hey, this IP address is using a browser
* in your kernel program, you retrieve the IP address using the right 
API and you test the flag
* if there is the flag, you can say the session is coming from a 
browser
* if there is no flag, you can say the session is coming from a pure 
telnet session

Something like that.

> Many thanks for your continued interest.
> 
> Rob



-- 
Cordialement/Best regards
Marc Rauzier

Opinions I stated here are my own.


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.