2017-01-30 13:14 GMT+01:00 Norbert Hartl <[hidden email]>: Unfortunately I couldn't test it because I installed the PharmIDE on my linux machine and it does not work. When starting the image a listening port is opened but 5 seconds later the port closes automatically. Has anyone tested it on a linux machine? I am working on it. It happens when server starts from command line. Probably I do something wrong in my TCPServer implementation. Zinc server works fine. So I have example where there is no problems. |
In reply to this post by NorbertHartl
How can we start PharmIDE server so that it binds to localhost only on the server? Phil On Mon, Jan 30, 2017 at 1:14 PM, Norbert Hartl <[hidden email]> wrote:
|
2017-01-30 14:16 GMT+01:00 [hidden email] <[hidden email]>: How can we start PharmIDE server so that it binds to localhost only on the server? I do not know if it is possible from Pharo. Anybody know example with "Socket newTCP"? With "external OS tools" you can always hide port from outside world. Try to google it. |
> On 30 Jan 2017, at 15:39, Denis Kudriashov <[hidden email]> wrote: > > > 2017-01-30 14:16 GMT+01:00 [hidden email] <[hidden email]>: > How can we start PharmIDE server so that it binds to localhost only on the server? > > I do not know if it is possible from Pharo. Anybody know example with "Socket newTCP"? > With "external OS tools" you can always hide port from outside world. Try to google it. It is in your image already ! See ZnServer>>#bindingAddress: and ZnSingleThrededServer>>#initializeServerSocket In use in ZnServerTests>>#testEchoLocalInterface You will understand immediately, it is quite easy. Remember that once you start like that, you will only be able to connect locally. |
2017-01-30 15:45 GMT+01:00 Sven Van Caekenberghe <[hidden email]>:
Thank's Sven. I will add suitable method to start Pharm server |
In reply to this post by Denis Kudriashov
2017-01-30 13:36 GMT+01:00 Denis Kudriashov <[hidden email]>:
Ok. It is fixed now. Just load stable version. Reason was related to my post about two listener sockets. TCPServer is registered on startup list and it recreates listener socket when image resumes. From command line it happens twice. First instance is created from command line handler which registers it on startup list. But when command line is evaluated Pharo start process startup list which lead to duplicated socket creation. Now TCPServer handles it properly. |
In reply to this post by NorbertHartl
As a followup I need to say that it works now and it works like a charm. I installed one PharmIDE image on my server and did the SSL tunneling. Latency was very good or to say it was only that high that you can notice working on a remote image. I did only small tests but everything was working as expected. I think in the future we need to work out how we can inspect a remote object while using GT features. A lot of stuff in GT inspector is pretty useful. But then I assume it is really chatty at the same time making the remote usage less useful. Great job!!! A dream comes true. If there is a working UFFI for ARM then we have a pretty decent stack for IoT times. Bravo! Norbert
|
there is not reason why it shouldn’t work… backend is reported to be working… but well, you are free to test it :) Esteban |
In reply to this post by NorbertHartl
2017-02-01 9:41 GMT+01:00 Norbert Hartl <[hidden email]>: Great job!!! A dream comes true. If there is a working UFFI for ARM then we have a pretty decent stack for IoT times. Thank's. UFFI works in my simple tests like "LibC system: 'ls'" |
In reply to this post by NorbertHartl
2017-02-01 9:41 GMT+01:00 Norbert Hartl <[hidden email]>: I think in the future we need to work out how we can inspect a remote object while using GT features. A lot of stuff in GT inspector is pretty useful. But then I assume it is really chatty at the same time making the remote usage less useful. I know what needs to be done from my point of view. But what exactly missing from your perspective? |
In reply to this post by Denis Kudriashov
>>Great job!!! A dream comes true.
>>If there is a working UFFI for ARM then we have a pretty decent stack for IoT times. >Thank's. UFFI works in my simple tests like "LibC system: 'ls'" Did you check out my OSRaspbian project loadable from the catalog? It uses UFFI and is working on Pi. Bye T. |
2017-02-01 13:44 GMT+01:00 Torsten Bergmann <[hidden email]>:
I have it in mind but not try it yet :) |
In reply to this post by Torsten Bergmann
> Am 01.02.2017 um 13:44 schrieb Torsten Bergmann <[hidden email]>: > >>> Great job!!! A dream comes true. >>> If there is a working UFFI for ARM then we have a pretty decent stack for IoT times. >> Thank's. UFFI works in my simple tests like "LibC system: 'ls'" > > Did you check out my OSRaspbian project loadable from the catalog? It uses > UFFI and is working on Pi. > Ok, thanks. As the next attempt is using an Raspberry pi it seems to be a perfect fit Norbert |
In reply to this post by Denis Kudriashov
I'm not sure, yet. But what I do is inspecting SeamlessProxy objects which won't enable extra tabs and views for the object. And if it does I don't know if the communication overhead is not too hardcore. In my dreams there is a remote image without GTTools and a GTenabled image on my laptop and still I can use GT features on remote objects. I know but … hey you asked! ;) Norbert
|
Free forum by Nabble | Edit this page |