Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » listening on 2 ports same time from SWT APP
listening on 2 ports same time from SWT APP [message #146615] Thu, 09 June 2005 00:27
Eclipse UserFriend
Originally posted by: sumit.panchasara.einfochips.com

Hi,
I made one SWT app. using Eclipse. I am creating two buttons for server1,
server2 in a single application. When I press server1 it should start
listening on port 5555 and on pressing server2, should start listening on
6666.
Clients issues related commands and servers should accept both
connections(on related ports). e.g. client1 issues command for port 5555 and
client2 issues command for port 6666.

All clients are different machines.
Servers are on same machine. i.e. it is only one but listening on two
different ports.

Communication Protocol I have used is TCP/IP.

Now every thing is working fine. But for only one of these port. server
doesn't allow me to listen on second port. i.e. after pressing server1 I can
not able to press server2. Thus Client listening on port 6666 for example,
will not able to build connection with server.

What to do in this case?

Sumit.
Previous Topic:Compile C, not C++
Next Topic:regarding socket communincation
Goto Forum:
  


Current Time: Sun Jun 30 00:31:58 GMT 2024

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

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

Back to the top