Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Embedded browser(Embedded browser fails to maintain contact with C program via localhost port 6500)
Embedded browser [message #1434130] Mon, 29 September 2014 18:11
Nigel Hoath is currently offline Nigel HoathFriend
Messages: 14
Registered: August 2014
Location: UK
Junior Member
I have a Windows GUI developed using Eclipse EE on Windows 7.

I'm trying to stick to SWT.

I have an embedded browser as follows:

final Browser g11_embedded_browser = new Browser(g11_capture_script, SWT.NORMAL);
        g11_embedded_browser.setBounds(0, 0, 1000, 260);
        g11_embedded_browser.setVisible(true);


It is used to connect to 127.0.0.1:6500

A C program listens on 6500, and in response displays a simple form. The C program is extensively used and rarely fails when using any external browser. The port 6500 is clear for use by the C program.

However the Java embedded browser often does not receive the form, sometimes receives it and it works for a while, then goes to sleep, or sometimes works for 5 or 6 interactions which meets the test need. Doesn't seem connected with time. I can use it slowly for 3 interations and it fails. I can use it very quickly and it will often fail quickly. So doesn't appear to be a simple time out.

I've tried to find a resolution but to no avail. For sure the problem relates to the connection to the C program on local host but as I can't get at it and the C program never fails with any other browser I'm a bit stuck.

I can say the embedded browser can get say BBC.com reliably over a considerable time period. So as an internet browser the embedded browser is fine.

But I cannot get held up on this so unlewss anyone has any thoughts I want to change to a different embedded browser. Can anyone suggest a possible? Many tx in anticipation.


Performance/Load/Stress tester for large public and private sector orgs because I enjoy it.

[Updated on: Mon, 29 September 2014 18:20]

Report message to a moderator

Previous Topic:Đăng Ký Mạng Wifi FPT Quận 8 Gia Đình
Next Topic:Java Compiler Compliance Level 1.8
Goto Forum:
  


Current Time: Wed Dec 02 13:23:44 GMT 2020

Powered by FUDForum. Page generated in 0.02198 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top