Click here to Skip to main content
15,906,625 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: How to pass not simple types using .NET Remoting Pin
code-frog4-Aug-06 8:21
professionalcode-frog4-Aug-06 8:21 
Nigor,

     Dustin looked me up on this and asked me to have a look. I don't think things are going to work right at all until we get both machines onto the same subnet. Right now you are on two different subnets.

10.10.0.X for one
192.168.0.X for the other

In both cases X can be greater than 0 (x > 0) or X can be less than 255 (x < 255) notice x cannot equal 0 or 255 (0 != x != 255).

Let's go ahead and pick the proper subnet and then this will get easier.

I'm going to call the 10.10.0.X computer (PC1) and the 192.168.0.X computer (PC2). I don't like to run any of my networks (and I admin about 50 of them) in the 192.168.0.X range. It's the default range for most network devices and it can cause a lot of problems unless you know *exactly* what you are doing. So I'm going to have you migrate the 192.168.0.X (PC2) machine over to the 10.10.0.X subnet. Your PC1 is set to use 10.10.0.1 so PC2 should use anything that is not 0,1 or 255. So let's just set it to... 2 Smile | :) yeah easy eh.

A healthy TCP/IP stack for any machine on a network will look like this:

* IP Address: 10.10.0.X (All machines needing to see one another need to be in the same Class C (10.10.0.X) the first 3 octets make up the Class C but the 4th octet (x) must be unique PERIOD.

* Subnet Mask: 255.255.255.0 (In most networks this is just fine. I'd explain this further but it's way over the heads of most as it is.)

* Default Gateway: 10.10.0.Y (Where Y is the last octet of your network router the thing sitting between you and your internet. Or it's the LAN IP of your network router.)

* Primary DNS: Supplied by your ISP and absolutely critical for browsing the web a *must* have.
* Secondary DNS: Again supplied by your ISP and a good idea to have as it backs up the first one if it fails.

Okay so hopefully you get the gist now.

I'll spare the steps involved but you should now go to PC2 and do the following.

Set it's:

IP Adress: 10.10.0.2
Subnet Mask: 255.255.255.0
Default Gateway: (LAN IP of your Router/Firewall.)
Primary DNS: Get this from your ISP if you don't know it.
Secondary DNS: Get this from your ISP if you don't know it.

Most importantly whichever of your PC's that can actually browse the internet, send receive email etc...

Open a command prompt on that machine and type ipconfig /all then hit enter. This will dump out the TCP/IP stack of that machine that you can now use to configure the other machine. It will look like this:

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : masterpc
   Primary Dns Suffix  . . . . . . . : mydomain.local
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : mydomain.local

Ethernet adapter Local Area Connection 2:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) PRO/1000 PM Network Connection
   Physical Address. . . . . . . . . : 00-18-20-AF-88-02
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IP Address. . . . . . . . . . . . : 10.10.0.81
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.10.0.99
   DHCP Server . . . . . . . . . . . : 10.10.0.99
   DNS Servers . . . . . . . . . . . : 10.10.0.9
                                       24.116.0.202
                                       24.116.33.232
   Primary WINS Server . . . . . . . : 10.10.0.9
   Lease Obtained. . . . . . . . . . : Friday, August 04, 2006 4:50:35 AM
   Lease Expires . . . . . . . . . . : Saturday, August 05, 2006 4:50:35 AM

C:\

From this you can see the proper settings of my machine and make sure you see the same or similar output from the machine of yours that is working correctly.

All you need from this output is:

Default Gateway
<font face="Courier New">   Default Gateway . . . . . . . . . : 10.10.0.99</font>
Please note on my machine it's 10.10.0.99 on yours it *will* be something different.
DNS Servers
<font face="Courier New">   DNS Servers . . . . . . . . . . . : 10.10.0.9
                                       24.116.0.202
                                       24.116.33.232</font>
Please note on my machine it's 10.10.0.9, 24.116.0.202, 24.116.33.232 on yours it *will* be something different.
I have 3 you only need two.



Anyway get these on the same subnet and you should be in business. When you are done post an ipconfig /all from both machines here and I'll compare them to make sure they are correct.

- Rex


When I'm joking people take me seriously.
When I'm serious they think I'm joking.
I'm left to conclude my life must be a complete joke.
Sigh | :sigh: Laugh | :laugh: Cool | :cool:

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 
GeneralRe: Copy an instance Pin
Dustin Metzgar31-Jul-06 6:25
Dustin Metzgar31-Jul-06 6:25 

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.