CAsyncSocket and Firewall Hanging

From: Sims (siminfrance_at_hotmail.com)
Date: 07/28/04


Date: Wed, 28 Jul 2004 17:49:43 +0100

Hi,

I have a very simple application that listens for connection on a certain
ports and the same application that sends a message from another computer.
Both applications are the same, they send data back and forth to each
others.

I use WinXP pro for developing and Win 98/ME for testing and minor
developing.
All the machines are on the same network, (controlled by the XP Pro), and
all the machines are using ZA pro (4.5.594) as firewall. (Version 5 of ZA is
to unstable to even try it).

When I start my applications the first thing they do is 'listen' on a port,
(764 by default). Understandably Zone Alarm fires a warning that an
application is trying to act as a server but the problem is that the
application hangs at the CAsyncSocket::Listen(...) function, regardless
whether I agree to the warning or not.
I only have that problem on the Win 98 machine, it works just fine on XP
pro.

The application never seem to come back from the CAsyncSocket::Listen(...)
function.

Would there be a reason for that? Is it because of the Port number I chose?
Is so why?
I cannot ask Win98 users to shutdown their firewalls just so that my
application can connect.

Any suggestions?

Many thanks in advance

Simon.



Relevant Pages

  • Setting Up RS-232 Ports for Data Logging
    ... RS-232 port. ... Each application listens on its own port and, ... both applications are trying to ... What I want is all the serial data, ...
    (Ubuntu)
  • CAsyncSocket and Firewall Hanging
    ... I have a very simple application that listens for connection on a certain ... I use WinXP pro for developing and Win 98/ME for testing and minor ... When I start my applications the first thing they do is 'listen' on a port, ... Is it because of the Port number I chose? ...
    (comp.security.firewalls)
  • Add 2nd Ethernet address
    ... I believe that there is a way under Windows XP Pro, ... add a second Ethernet address. ... I have 2 applications that ... need exclusive use of Port 80. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Peronal Firewall Review
    ... > PRO: Easy to use, ... > CON: If you allow an app to go through, you have to go to it and modify it ... Cookie control doesn't stop 3rd party cookie. ... Not easy to configure port access or easy to use. ...
    (comp.security.firewalls)
  • Firewire intermittent loss of connection to Camera on XP Pro SP2
    ... transfer using a Fuji FinePix S2 Pro via there remote capture software called ... systems with W2K SP4 and XP Pro SP2. ... Recently on these systems running XP Pro SP2 we have intermittent ... I have since eliminated that port from the Firewall ...
    (microsoft.public.windowsxp.accessibility)

Quantcast