Re: Aysnchronous socket problem
- From: "Daniel" <DanielV@xxxxxxxxxxxxxxxx>
- Date: Wed, 24 May 2006 10:56:12 +0100
Why would it block data from the other network? Presumably your app is
wiaitng accepting connections on a port to it and handling them. The only
reason another network or server might cause an issue is if it is using the
same port number and you are getting some sort of port conflict, otherwise
they would not effect each other.
Since you use two cards i presume the company lan is on a different subnet?
(otherwise there isnt much need for two cards) In which case clients would
only be able to see your server anyhow and since you would replying to them
in your sends back it will only go to them. I am pretty certain your problem
is a port issue or something else but not due to the company server (unless
the company server app is using the port as pre mentioned).
- So try using a different port.
- Try disabling your company server connected network card in devices
through control panel and re-testing to see if it is effected.
Hope that helps
"Macca" <Macca@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C52058DE-7E41-47CB-BDD3-BA8F31D3A651@xxxxxxxxxxxxxxxx
Hi,
I have written an asychronous socket based on the microsoft example below
:-
http://msdn2.microsoft.com/en-gb/5w7b7x5f.aspx
My app is connected to multiple clients which connect to the PC my app is
on
through a switch which is connected to a Network card.However the company
server is also connected to the PC but on a different network card and
this
is causing problems as it seems to be blocking the data on the other
network
card
Can I block the card (in the asynchronous socket server code) that is
connected to the company LAN so that the asynchronous socket ignores data
from the company server/LAN?
Thanks
Macca
.
- Prev by Date: user control?
- Next by Date: Where can I store these settings?
- Previous by thread: user control?
- Next by thread: Where can I store these settings?
- Index(es):
Relevant Pages
|
Loading