Grant Schenck
2009-10-20 17:07:14 UTC
Hello,
I have a strange issue with a client server application I developed in C#
.NET. This doesn't actually use remoting, rather it uses sockets but I
don't see a news group that specific. If this would be better posted in
different news group then please let me know...
The problem we have is that our server is on one subnet and our clients are
on another subnet. I track the connected clients by IP address. The
problem I have is that all clients come in with the IP address of the
gateway where the NAT is running. The result is that one client can connect
but when a second client connects I see the same IP address and assume that
somehow the previous connection was not torn down and disconnect the
previous connection. The result is that only one client can connect at a
time.
This is an area I know virtually nothing about but I thought the whole point
of a NAT is to virtualize connections in such a way that applications just
work. I shouldn't have to code specially to work with clients connected via
NAT, should I?
I'm thinking this is an issue with the configuration of their NAT but I
don't know. My other concern is that somehow this is just a limitation of
client/server software where the client and server connect via a NAT and
while I assume most companies run NATs, they probably run those between the
public internet and their network, not between subnets of their network.
Any and all advice would be very much appreciated!
Thanks in advance.
I have a strange issue with a client server application I developed in C#
.NET. This doesn't actually use remoting, rather it uses sockets but I
don't see a news group that specific. If this would be better posted in
different news group then please let me know...
The problem we have is that our server is on one subnet and our clients are
on another subnet. I track the connected clients by IP address. The
problem I have is that all clients come in with the IP address of the
gateway where the NAT is running. The result is that one client can connect
but when a second client connects I see the same IP address and assume that
somehow the previous connection was not torn down and disconnect the
previous connection. The result is that only one client can connect at a
time.
This is an area I know virtually nothing about but I thought the whole point
of a NAT is to virtualize connections in such a way that applications just
work. I shouldn't have to code specially to work with clients connected via
NAT, should I?
I'm thinking this is an issue with the configuration of their NAT but I
don't know. My other concern is that somehow this is just a limitation of
client/server software where the client and server connect via a NAT and
while I assume most companies run NATs, they probably run those between the
public internet and their network, not between subnets of their network.
Any and all advice would be very much appreciated!
Thanks in advance.
--
Grant Schenck
Grant Schenck