![]() |
Forum Index : Microcontroller and PC projects : Yet another WAN MM test please...
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Just cycled power now, and 107 is OPEN - I can talk to the MM from my LAN fine. If you were to try now, it would probably work for you..... Gone back to CONNECT status again, and all connections are being refused. How long was that? I have posted a question on the forums over there, but I am not overly impressed. I think it is time to try a Lantronics Xport module as recommended by another member or two... Smoke makes things work. When the smoke gets out, it stops! |
||||
MicroBlocks![]() Guru ![]() Joined: 12/05/2012 Location: ThailandPosts: 2209 |
In 'normal' tcp connections it is one port that listens to incoming connections and then another port is used to actually make the connection. This leaves the incoming port in listen mode all the time ready for new connections. There can be a counter how many connections are allowed. Another way is to use the same port that is listening to connect to the incoming request. When the connection is finished it has to be set into listening mode again, otherwise it will never be able to respond to a new incoming request. I am not sure what status 'OPEN' en 'CONNECT' means in your specific case. They are not really described as such in those situations. Check here for a description of all the states. Just tried it and it works. I connected multiple times. Microblocks. Build with logic. |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
Just got in OK and could LIST (didn't edit, sorry). telnet grogster.ddns.net 5005 Trying 203.94.40.66... Connected to grogster.ddns.net. > list list ' '; Connected from Greg, in Victoria (program listing) John |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Gone back to CONNECT status again, and all connections are being refused. How long was that? I have posted a question on the forums over there, but I am not overly impressed. I think it is time to try a Lantronics Xport module as recommended by another member or two... Smoke makes things work. When the smoke gets out, it stops! |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
Just tried again and was OK. John |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
AHHHHHHHH - I think I know what is going on here. OPEN means the module is available for connections. CONNECT means someone else has opened the connection and is using it. Still does not explain why connections seem to be refused if I wait a while - I suppose that someone could be connected at that time..... I might be jumping the gun a little here blaming the module - perhaps. I could totally believe that if the module HAD an active connection to somewhere, it would refuse connection attempts for others. MB might be right I think, and I might need to set the auto-disconnect option IN THIS CASE AND FOR THIS EXPERIMENT, so as to allow more people to connect. With NO auto-disconnect, I suppose what is happening, is that the first person to connect is allowed, but then when they are finished, the connection is NOT dropped(exactly as I have told the module), and thus: everyone else is refused cos the now unused connection is still being maintained - even if the other end disconnected. Am I making any sense? ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Now I have read that a few times, this makes perfect sense, and must be what is happening. I will set a ten-minute auto-disconnect time and continue the experiment. You will be kicked out of the connection after ten mins, in other words. EDIT: Done. 300 seconds on the 'Inactivity timer'. 5 Mins. Every five mins, the connection should be dropped if there is no activity. That should allow more people in during the test. Smoke makes things work. When the smoke gets out, it stops! |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
I'm connected right now. Want me to leave it connected for 10 mins or disconnect before then? John |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Hi ![]() I see that the 107 config tool now says CONNECT - that would be you then! ![]() Feel free to EDIT and leave a message, then F1 save while you are there. Once you have done that, please leave your connection active, but don't do anything. I want to see if the inactivity timer gives your connection the push after five mins of no activity - I think that it will now I understand how that works! ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
Yep, it'll be me :) I'm in telnet and F1 isn't going to work I suspect... do you happen to recall an alternative to exit EDIT? John |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
Already got: Connection closed by foreign host. Looks like less than 10mins. John |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
No, sorry. ![]() Status is now OPEN, so provided you have not disconnected at your end, the 107 module here has kicked your connection off. ![]() MicroBlocks was SO right.....I need to pay more attention to his posts! ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
Yep was kicked off. Our posts overlapped. John |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Would it be fair to say you had not typed anything to the module for five mins, or did it feel like you were given the boot sooner then that? EDIT: I will leave this setup running overnight(my time), so others feel free to play around. Time to rest the little grey cells now. ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
Probably hadn't for 5 mins. Probably had within 10, though. Sorry I didn't time anything carefully, just glanced at the time. I can try it again if you want - just tell me where to leave a delay of how long. John [wondering if Glenn's OK with chat via web forum posts] |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
No, I think that must have been right. I will stop the 'Chat' now, as I need sleep. Thanks very much for your help though. ![]() @ Glenn - sorry for that, if that was pushing the rules. ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
No worries & you're welcome. I'm glad I happened to be able to help. John |
||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2442 |
can connect now fine, and the connection appears to be timing out ok after 5 minutes of inactivity (although i'm receiving no disconnect signal). but within the editor corruption of traffic seems to be occurring - escape sequences are getting mangled for instance, and have seen the odd character turn up in the right-most column. just did a comparison with tassyjim's setup, and it is not displaying this corruption issue. cheers, rob :-) |
||||
Azure![]() Guru ![]() Joined: 09/11/2017 Location: AustraliaPosts: 446 |
I managed to connect but did not seem to have a good session. Tried connecting with both teraterm and MMEDit. I think it is on my sides telnet configuration and MMEdit is not the latest versiob. I tried to add some print comments, but could not list them to check. |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
The EDIT corruption is interesting. If I connect via my LAN here, I can use the editor just fine. No corrupted characters etc, and everything works exactly as it should. This suggests that as I am talking to it from my LAN, that the 107 module is NOT corrupting the ESC sequences, or my LAN connection would corrupt too. Interesting.... ![]() Here is a transcript of activity: list all ' 'list ' CLS ' CLS List ' B[ clBBs P' Print "hello world" Print "hello NZ" CLS ; Connected from Greg, in Victoria List ; Hello from Qld GET / HTTP/1.1gee:a phplqtdca1tzilla/5.0(iPad; CPU OS 9_3_5 like Mac OS X) Appl GET / HTTP/1.1gee:a phplqtdca-x:ezilla/5.0(iPad; CPU OS 9_3_5 like Mac OS X) Ap Const TILT=2,LED=3 SetPin TILT,DIN SetPin LED,DOUT Do If Pin(TILT) Then Pin(LED)=1 If Pin(TILT)=0 Then Pin(LED)=0 Loop OK, own up - which one of you was trying to "GET" a MAC-OS application and install it on my MM2?! ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |