By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,642 Members | 1,474 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,642 IT Pros & Developers. It's quick & easy.

TCP Server problems

P: n/a
Hi

I designed a server with tcp that should listen on a port (9500) for
incoming connections
I designed a client application that use WebRequest to connect to my server.
Anyway, everything works just fine on my PC.

Now the client should be able to connect from any intranet/internet computer

I started the server on a LAN computer and tryed to make a request using my
client app from another PC.

The client cant connect to the server... no request are made to server...

A request using IE reach the server... something like http://myServerPc:9500
in address bar
The same request from the client is:
wbclient.UploadData("http://myServerPc:9500", DataToSend, 240) 'timeout
4 minutes
wbclient is a WebClient modified to accept timeout
Any ideea why?

--
Cheers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
No one experimented in this... anyone know another group to post?

--
Cheers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------

"Crirus" <Cr****@datagroup.ro> wrote in message
news:OK**************@TK2MSFTNGP11.phx.gbl...
Hi

I designed a server with tcp that should listen on a port (9500) for
incoming connections
I designed a client application that use WebRequest to connect to my server. Anyway, everything works just fine on my PC.

Now the client should be able to connect from any intranet/internet computer
I started the server on a LAN computer and tryed to make a request using my client app from another PC.

The client cant connect to the server... no request are made to server...

A request using IE reach the server... something like http://myServerPc:9500 in address bar
The same request from the client is:
wbclient.UploadData("http://myServerPc:9500", DataToSend, 240) 'timeout 4 minutes
wbclient is a WebClient modified to accept timeout
Any ideea why?

--
Cheers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------

Nov 20 '05 #2

P: n/a
"Crirus" <Cr****@datagroup.ro> wrote in news:OTDvxPO4DHA.3480
@TK2MSFTNGP11.phx.gbl:
No one experimented in this... anyone know another group to post?


Unfortunately there are no socket groups here. You can try Indy and if you
still fail with it ask on their forums. :)

http://www.indyproject.org/indy.html - and its free.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
ELKNews - Get your free copy at http://www.atozedsoftware.com

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.