Are you sure it is not a UPnP issue? I know on my router I turned that off. A connection being closed "forcefully" generally would be a router/firewall doing its job.
Going client to server is fine. However going the other way is where you get individual personal router setting issues. Maybe do some tests on "consumer" routers with UPnP turned off? Jim On Thu, Apr 2, 2009 at 3:49 PM, Mirosta <[email protected]> wrote: > > Hi > > I have a nice little multi-user client/server application running with > UPnP port forwarding working fine, I have tested the program on > several PC's across a LAN without any UPnP, I then applied UPnP and > tried connecting to the server, manually routed it seems to work fine > but when I applied the programmatical routing the client connected to > the server fine but then the server had an error, something like the > connection being forcefully closed. When I checked the client's remote > endpoint, it was actually the local, behind router endpoint and not > the router's endpoint. Why is this happening, it can't be the UPnP > code as it routes it fine from client to server, why does it not work > the other way? > > Thanks for the assistance > > Mirosta
