Click here to Skip to main content
15,898,035 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to pass not simple types using .NET Remoting Pin
Dustin Metzgar1-Aug-06 6:19
Dustin Metzgar1-Aug-06 6:19 
GeneralRe: How to pass not simple types using .NET Remoting Pin
Nigor1-Aug-06 6:32
Nigor1-Aug-06 6:32 
GeneralRe: How to pass not simple types using .NET Remoting Pin
Dustin Metzgar1-Aug-06 7:00
Dustin Metzgar1-Aug-06 7:00 
GeneralRe: How to pass not simple types using .NET Remoting Pin
Nigor1-Aug-06 8:22
Nigor1-Aug-06 8:22 
GeneralRe: How to pass not simple types using .NET Remoting Pin
Dustin Metzgar1-Aug-06 8:46
Dustin Metzgar1-Aug-06 8:46 
GeneralRe: How to pass not simple types using .NET Remoting Pin
Nigor1-Aug-06 11:03
Nigor1-Aug-06 11:03 
AnswerRe: How to pass not simple types using .NET Remoting [modified] Pin
Nigor3-Aug-06 9:23
Nigor3-Aug-06 9:23 
AnswerRe: How to pass not simple types using .NET Remoting [modified] Pin
Nigor4-Aug-06 8:03
Nigor4-Aug-06 8:03 
Mk, after further examintation and tracing using Wireshack (formerly Ethereal) here is what I found.

Firs the setup.

Home computer which has the server:

address: igor.no-ip.ca
local address of nic: 10.0.0.1

Work computer which has the client:

address: pennylane.no-ip.ca
local nic address: 192.168.0.101

Both computers are behind routers with port 1024 open and forwarded.

Basicaly, looking at the soap messages, it looks like when ShowText() method is called, the soap message is relatively small. When ShowFileInfo() method is called, the soap message is big, and one of the entries in that message is address 10.0.0.1, which is the local address of the server, and to the client has no meaning. But, after receiving that message, the client tries to connect to 10.0.0.1 on port 1024!

Here is the trace:
---------------------------------------------------------------------------------------

http://img394.imageshack.us/img394/3109/remotingtestyk0.png

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

If you look at server's soap response message (the last one) you will see that item id="ref-17" is set to http://10.0.0.1:1024. The client must be reading this value because the next thing it does is it tries to connect to 10.0.0.1:1024, which, ofcourse, fails.

Here are complete trace files in case you are interested: http://igor.no-ip.ca/remoting%20trace%20test.zip (tcpdump / ethereal format)

VS2005 Solution: http://igor.no-ip.ca/remoting%20test.zip

Any ideas?



-- modified at 14:23 Friday 4th August, 2006
GeneralRe: How to pass not simple types using .NET Remoting Pin
code-frog4-Aug-06 8:21
professionalcode-frog4-Aug-06 8:21 
GeneralRe: How to pass not simple types using .NET Remoting [modified] Pin
Nigor4-Aug-06 9:10
Nigor4-Aug-06 9:10 
GeneralRe: How to pass not simple types using .NET Remoting Pin
code-frog4-Aug-06 14:46
professionalcode-frog4-Aug-06 14:46 
GeneralRe: How to pass not simple types using .NET Remoting [modified] Pin
Nigor5-Aug-06 3:18
Nigor5-Aug-06 3:18 
QuestionDataGridView Button w/ Image Pin
swcrissman31-Jul-06 5:13
swcrissman31-Jul-06 5:13 
QuestionInstance from the active form Pin
Ramez Quneibi31-Jul-06 4:31
Ramez Quneibi31-Jul-06 4:31 
AnswerRe: Instance from the active form Pin
Judah Gabriel Himango31-Jul-06 5:12
sponsorJudah Gabriel Himango31-Jul-06 5:12 
GeneralRe: Instance from the active form [modified] Pin
Ramez Quneibi31-Jul-06 21:36
Ramez Quneibi31-Jul-06 21:36 
GeneralRe: Instance from the active form Pin
Judah Gabriel Himango1-Aug-06 4:39
sponsorJudah Gabriel Himango1-Aug-06 4:39 
GeneralRe: Instance from the active form Pin
Ramez Quneibi1-Aug-06 21:26
Ramez Quneibi1-Aug-06 21:26 
GeneralRe: Instance from the active form Pin
Judah Gabriel Himango2-Aug-06 5:20
sponsorJudah Gabriel Himango2-Aug-06 5:20 
GeneralRe: Instance from the active form Pin
Ramez Quneibi4-Aug-06 5:22
Ramez Quneibi4-Aug-06 5:22 
GeneralRe: Instance from the active form Pin
Judah Gabriel Himango4-Aug-06 10:04
sponsorJudah Gabriel Himango4-Aug-06 10:04 
GeneralRe: Instance from the active form Pin
Ramez Quneibi4-Aug-06 22:47
Ramez Quneibi4-Aug-06 22:47 
QuestionCopy an instance Pin
sjembek31-Jul-06 4:30
sjembek31-Jul-06 4:30 
AnswerRe: Copy an instance Pin
Dustin Metzgar31-Jul-06 4:44
Dustin Metzgar31-Jul-06 4:44 
GeneralRe: Copy an instance Pin
sjembek31-Jul-06 5:50
sjembek31-Jul-06 5:50 

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.