views:

41

answers:

2

in remoting is it possible to connect a particular port(client) to a remote server, i can specify the server port,is there any posibilitis to specify a client port example if server runs in x machine and server port is 8085 and client runs in y where itconnects the server exactly with the specified port ,but the client is connected using a random port(can ispecify a client port),ican do it in basic sockets

+1  A: 

The client simply has to follow the server and use the same port.


Edit: when the server is on machine "wacko" and listening on port 8085, the client has to specify an address of "wacko:8085"

Henk Holterman
can u tell me what is that
A: 

It seems you can set atleast the the port to use for callbacks in the configuration, see here: http://msdn.microsoft.com/en-us/library/b767h4k2(v=VS.71).aspx and http://msdn.microsoft.com/en-us/library/c5zztdc3(VS.80).aspx , a port of 0 as in the example means a random port.

nos