Socket component in a browser

M

Morten

Hi,

I have a problem with TCP communication in a browser.

The case:
I have made a control using C#. It consist of a GUI and a socket interface
(TcpClient). The GUI is a WindowsControlLibrary. I have no security
restrictions in the browser for this test (Full trust).

When I run the control in the browser, it is displayed as it should, but
when I hit my Connect button, it create a TcpClient, but when I use the
GetStream function it takes about 2 minutes before it moves on.
I have made a server as a standard Windows app, and I am able to see, that
the GetStream call from my browserClient is received at ones in the server
app.

Does anyone have a good idea of how to get rid of this delay ???

Morten Larsen
 
M

Morten

Hi,

A little correction !
As I wrote before it isn't the GetStream function that result in a delay,
but the Connect function. I am still able to see that the Server socket
accepts the connection request.

Morten
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top