473,772 Members | 2,510 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help changing port on TINY remote control program

4 New Member
I am using a shareware program to remote control a DOS 6.22 workstation from a windows viewer over the internet.
It works great and I want to run concurrant sessions on the same WAN. In order to do that I will have to change the port

The Viewer is written in JAVA.
The Host is written in C.

The developer lists a switch option for changing the JAVA VIEWER, but I see no way to switch the port setting in the HOST.

If you have interest in helping me you can see the developer's web page at

http://josh.com/tiny/

Thanks in advance. MIKE
Oct 25 '06 #1
8 2615
Banfa
9,065 Recognized Expert Moderator Expert
Why would you need to change the port, you would only need to change the port if you are trying to run several hosts on the same machine. Several viewers attaching to different host ought to be fine with the hosts all having the same port number.
Oct 25 '06 #2
mikeweber3
4 New Member
Maybee you are correct.
This program allows several viewers to conect to the same host, which is not what I want.
Do you think I can tell my router to not connect a new viewer to to a host that is currently being used by another viewer.
The packet protocol is UDP which I believe is connectionless.

I appreciate your interest. Any suggestions?
Oct 26 '06 #3
Banfa
9,065 Recognized Expert Moderator Expert
Do you think I can tell my router to not connect a new viewer to to a host that is currently being used by another viewer.
No the router on your network will have no knowledge of what connections are used for which purpose and therefore no knowledge of when a viewer is already connected.

You could write the host software so that once it has accepted 1 connection it doesn't accept any more (if you have access to the code).
Oct 26 '06 #4
mikeweber3
4 New Member
Thanks again.

The most desireable to me would be to change the port assignment on each of 3 desired Host machines. I can then assign each of 3 specific VIEWERS their own port and therefore their own Specific HOST. I can set my router to
forward each separate port to a separate internal IP.

The problem is that I am not a programmer. It looks like to me that the designer has put a reasonably simple method in place to change the port assignment on the Host which is written in C.

Surely someone has done this already, but I have tried hard and can't find them. The shareware developer Josh Levine Tiny@support.jo sh.com hasn't been returning my requests for this. He was very helpful VIA E-mail support helping me get 1 copy of the system running.

Would you or someone you know re-compile 2 versions of the HOST program for me in C with two new port #s. About how much do you think this would cost?

Here is the WEB address of the program http://josh.com/tiny/
If you download the Tinhostsource.z ip it has about 8 files in it.
It seems to me to have documentation a programer would understand on how to accomplish this.

Is it ok for me to put my toll free phone number here for you or someone to call me?

Thanks Mike
Oct 26 '06 #5
Banfa
9,065 Recognized Expert Moderator Expert
Is it ok for me to put my toll free phone number here for you or someone to call me?
I have no objection to you doing this, however I very very very strongly extremely with every fiber of my being recomend that you don't.

Remember every man and his dog can view these forums so you should only post it if you want to receive phone calls from every mans dog. Additionally it may be toll free in your country (which I am guess could be the USA since that isn't what we call freephone numbers over here) but would I really be able to call it without charge from my country. Even if this was possible I would still be unlikely to phone you.
Oct 26 '06 #6
Banfa
9,065 Recognized Expert Moderator Expert
The most desireable to me would be to change the port assignment on each of 3 desired Host machines. I can then assign each of 3 specific VIEWERS their own port and therefore their own Specific HOST. I can set my router to forward each separate port to a separate internal IP.
A ha, now I finally understand the problem (let this be a lesson to you, you have asked for the solution you think will solve your problem without describing the actual problem up to now hence my confusion, I am trying to solve something without all the facts).

I thought you wanted to be able to view 3 DOS machines from a single computer.

However what you want to do is to be able to have 3 separate people (clients?) view 3 separate DOS computers through your router without any of them being able to view the 2 computers they are not meant to have access to right?

Right firstly the hosts are still running on separate machines so no need to recompile them with different ports. This can all be done in the router.

You have 3 DOS machine which I shall call DM1, DM2 and DM3 all running TINY through a port I shall call TP. Your router has an external IP address I shall call REI.

What you do is in the router set up port forwarding to forward different external ports of the router to TP on the 3 DOS machines I shall call these ports REP1, REP2 and REP3. So you should have the following forwarding table

REI:REP1 -> DM1:TP
REI:REP2 -> DM2:TP
REI:REP3 -> DM3:TP

For added security set different TINY passwords at each DOS machine so that even if 1 person manages to guess the external port of a different machine they wont be able to log onto it.
Oct 26 '06 #7
mikeweber3
4 New Member
If I understand, I agree with your solution. I tried it several days ago and it didn't work. The problem is that when the external machine sends a port assignment other than 6363 or 25443 the TINY-HOST will ignore the packet even if it gets to the proper machine.

HOWEVER.......Y ES!!!!!!!!!!!!! !!!

Josh (the TINY programmer) is awesome. He sent me an E-Mail this AM with a new version of the HOST which has a switchable port. I think he wrote it just for me as it has a 10-26-2006 date stamp. Now I will do exactly what you said and it should work great.

I still don't understand how guys like you and Josh make money. At any rate I really appreciate your help.

Thanks Mike
Oct 27 '06 #8
loopsteron
1 New Member
can some1 send me this version by email.
<email snipped>

thanks in advance



If I understand, I agree with your solution. I tried it several days ago and it didn't work. The problem is that when the external machine sends a port assignment other than 6363 or 25443 the TINY-HOST will ignore the packet even if it gets to the proper machine.

HOWEVER.......Y ES!!!!!!!!!!!!! !!!

Josh (the TINY programmer) is awesome. He sent me an E-Mail this AM with a new version of the HOST which has a switchable port. I think he wrote it just for me as it has a 10-26-2006 date stamp. Now I will do exactly what you said and it should work great.

I still don't understand how guys like you and Josh make money. At any rate I really appreciate your help.

Thanks Mike
Jul 29 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

4
1226
by: stuart | last post by:
Hello, I have a table in database that contains property information. I need to select the distinct village that each property but the Village name is in a column with the Property name and seperated by a comma. Example Data:: RecordID PropertyName Town 1 MyHouse 1, big Village Main Town
8
5481
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- Hello, I have a very simple problem but cannot seem to figure it out. I have a very simple php script that sends a test email to myself. When I debug it in PHP designer, it works with no problems, I get the test email. If
1
1466
by: Carlos | last post by:
Hi all, I have a ASP.NET app that uses SQL Server 2000 to access the data over the internet and everything works fine . However, I just installed SQL server 2005, and wanted to test the remote connectivity of this app with the same connection string, but just changing the target database (to AdventureWorks).
8
2469
by: vicky | last post by:
Hello,I met a question when I wrote the program.I want the program can transmit the data frame continuosly through the RS232 when the communication has been interrupted.But I don't know how to write. I don't know how to record.Who can give me hand?Thanks very much!
7
1382
by: rodmc | last post by:
I have written an application that connects to a database on a remote machine which uses MySQLdb 1.2.0. The application works perfectly when connecting to the database from a remote machine, however when it attempts to connect to a database on the same machine a connection error is generated. I have attached what little info I can below. DBSERVERIP = "1.2.3.4" db = MySQLdb.connect(host=DBSERVERIP, user="user", passwd="password",...
2
3793
by: evle | last post by:
haw to read data from an Infrared Infrared Remote Control
15
2581
by: Jay | last post by:
I have a multi threaded VB.NET application (4 threads) that I use to send text messages to many, many employees via system.timer at a 5 second interval. Basically, I look in a SQL table (queue) to determine who needs to receive the text message then send the message to the address. Only problem is, the employee may receive up to 4 of the same messages because each thread gets the recors then sends the message. I need somehow to prevent...
5
5260
by: ranishobha21 | last post by:
Dear all, i want to send some unix commands to remote unix machine in france through php.i am using socket communication in php, i have written a socket communication program so that it connects to the remote machine. i dont get any errors it says socket is connected.i dont know whether the socket is connected or not.
11
4368
by: blunt | last post by:
trying to write a program to write the configuration files for a load of wireless access points. i've never been a good programmer and haven't done any for nearly a decade so have obviously made some mistakes, i'm using cygwin on a windows pc and it seems that some functions cause stack overflows so am using fgets instead of fgetc (don't know y it solved the problem but that part is working). my problem now is that i am reading strings a few...
0
9621
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10039
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9914
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7461
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3610
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2851
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.