Click here to Skip to main content
15,915,160 members
Home / Discussions / C#
   

C#

 
AnswerRe: Populate Table from excel sheet ? Pin
mikone11-Oct-06 3:41
mikone11-Oct-06 3:41 
GeneralRe: Populate Table from excel sheet ? Pin
Gammaza11-Oct-06 20:43
Gammaza11-Oct-06 20:43 
Questionget clicked link Pin
m_mor10-Oct-06 23:00
m_mor10-Oct-06 23:00 
AnswerRe: get clicked link Pin
Niiiissssshhhhhuuuuu11-Oct-06 1:45
Niiiissssshhhhhuuuuu11-Oct-06 1:45 
QuestionChanging the default WindowClassName of a .NET Form? Pin
Yuval Naveh10-Oct-06 22:12
Yuval Naveh10-Oct-06 22:12 
AnswerRe: Changing the default WindowClassName of a .NET Form? Pin
Chris Buckett10-Oct-06 23:23
Chris Buckett10-Oct-06 23:23 
GeneralRe: Changing the default WindowClassName of a .NET Form? Pin
Yuval Naveh10-Oct-06 23:32
Yuval Naveh10-Oct-06 23:32 
QuestionRemoting and dynamic port allocation Pin
SkyTom10-Oct-06 22:04
SkyTom10-Oct-06 22:04 
Hi,

I'm looking for a way to specify the port numbers of a TCP connection via a TCPChannel object. I use the TCPChannel because
I need to receive callbacks in my client application:

<channel ref="tcp" port="8085" rejectRemoteRequests="false" exclusiveAddressUse="true" useIpAddress="false">
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
<provider ref="secureHandshake" />
</serverProviders>
</channel>

The client instantiates the remote object in a common manner:

(ILogin) Activator.GetObject(typeof(LoginProvider), serverPath) // serverPath="....:7912"

Sysinternal TCPViewer tells me about the following established remoting endpoints:

Process Local Remote
Client.exe nb2h130c:8085 nbgh62091033:2147 // Connection#1 used for Callbacks
Client.exe nb2h130c:2176 nbgh62091033:7912 // Connection#2

Question:

Is there a way to specify the client port number (2176) of connection#2 and the number of the server port (2147)

Another strange behavior is, that these both connections will be periodically removed and new established with other port numbers, while client and server are still working without any problem.

In the internet, I only came across the information to set a fixed endpoint for COM+ applications.


Thanks for every reply

Thomas
QuestionDeployment Question Pin
wasife10-Oct-06 21:34
wasife10-Oct-06 21:34 
QuestionSize of COM objects Pin
drabiger10-Oct-06 21:33
drabiger10-Oct-06 21:33 
QuestionAdding custom property pages to Outlook 2003 using C# <-- Question Pin
SquallNaruto10-Oct-06 21:15
SquallNaruto10-Oct-06 21:15 
QuestionAssign shortcutkeys to combobox values in gridview Pin
WillemM10-Oct-06 21:04
WillemM10-Oct-06 21:04 
Questionhow to declare 2 dimensional arraylists in C# Pin
Keshav V. Kamat10-Oct-06 21:04
Keshav V. Kamat10-Oct-06 21:04 
AnswerRe: how to declare 2 dimensional arraylists in C# Pin
WillemM10-Oct-06 21:09
WillemM10-Oct-06 21:09 
GeneralRe: how to declare 2 dimensional arraylists in C# Pin
Keshav V. Kamat10-Oct-06 21:11
Keshav V. Kamat10-Oct-06 21:11 
AnswerRe: how to declare 2 dimensional arraylists in C# Pin
wheelerbarry10-Oct-06 22:39
wheelerbarry10-Oct-06 22:39 
AnswerRe: how to declare 2 dimensional arraylists in C# Pin
WillemM10-Oct-06 21:06
WillemM10-Oct-06 21:06 
GeneralRe: how to declare 2 dimensional arraylists in C# Pin
Keshav V. Kamat10-Oct-06 21:08
Keshav V. Kamat10-Oct-06 21:08 
GeneralRe: how to declare 2 dimensional arraylists in C# Pin
WillemM10-Oct-06 21:10
WillemM10-Oct-06 21:10 
Questionanimatiom control Pin
Parshant Verma10-Oct-06 21:01
Parshant Verma10-Oct-06 21:01 
AnswerRe: animatiom control Pin
Alper Camel11-Oct-06 4:32
Alper Camel11-Oct-06 4:32 
QuestionDate Time format in Grid view Pin
Shahzad.Aslam10-Oct-06 20:30
Shahzad.Aslam10-Oct-06 20:30 
QuestionFolder browse exception Pin
Parshant Verma10-Oct-06 19:24
Parshant Verma10-Oct-06 19:24 
AnswerRe: Folder browse exception Pin
quiteSmart10-Oct-06 20:53
quiteSmart10-Oct-06 20:53 
QuestionRe: Folder browse exception Pin
Parshant Verma10-Oct-06 21:04
Parshant Verma10-Oct-06 21:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.