Login  
Search All Forums
Dart Home | PowerTCP Winsock for ActiveX | Custom Development Reply | PowerTCP Winsock for ActiveX Topics | Forums   
AuthorForum: PowerTCP Winsock for ActiveX
Topic: Multicast echo not working
BrendanM

From: Durban, South Africa
Posts: 80
Member Since: 07/11/02
posted May 14, 2009 9:15 AM

Hi,

Any reason why I do not get local echos from Multicast data I send. The Receive event in the VB6 code snippet below never fires

Private WithEvents UDP As UDP

Private Sub Form_Load()
  Set UDP = New UDP
End Sub

Private Sub Command1_Click()
  UDP.Open 4732
  UDP.Join "224.0.0.1"
  UDP.Send "Hello", "224.0.0.1", 4732
End Sub

Private Sub UDP_Receive()
  Debug.Print "Got it"
End Sub
Jason Farrar (Admin)

From: USA
Posts: 223
Member Since: 07/24/07

Extra Support Options
Custom Application Development

posted May 18, 2009 8:44 AM

Hi,

I can't reproduce this issue. Using the code you have supplied I get the echoes back. I suppose a stringent firewall could be blocking it, but other than that I don't know.

-Jason

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

BrendanM

From: Durban, South Africa
Posts: 80
Member Since: 07/11/02
posted May 18, 2009 10:29 AM

Well this used to work many years ago when we first took on Dart products. We were only alerted to the echo 'bug' by a customer of ours.

In my test environment I am using:

-Windows XP Pro with SP3
-Windows firewall turned OFF
-MCafee AV but the log does not show anything
-DartSock V2.8.5.1 (surprisingly not on your web site DartSock.dll release notes, but we were given a special upgrade last year)

The problem also occurs unde:
-Windows Server 2003 R2 SP2
-Windows firewall turned OFF
-No AV
-DartSock V2.8.5.1

The customer who reported the problem also runs Windows Server 2003 and the same DartSock.dll

Maybe our version of DartSock.dll V2.8.5.1 has a bug?

Jason Farrar (Admin)

From: USA
Posts: 223
Member Since: 07/24/07

Extra Support Options
Custom Application Development

posted May 18, 2009 12:59 PM

I dug up that build and tried it on my machine which is the same spec of the XP SP3 one with different AV software and I didn't have a problem. I also gave it a try on a test 23K RC2 server which is setup exactly the same way you describe, (firewall off, no AV)It worked there too. Are you seeing any other strange behavior?
BrendanM

From: Durban, South Africa
Posts: 80
Member Since: 07/11/02
posted May 19, 2009 10:04 AM

1) The problem seems to be only on the PCs where we have the VB6 IDE installed. On other no-development PCs our deployed application works fine with echos being received

2) We think we have found the problem at the customer's site - it appears they did not turn on the LocalEcho in our software so that was an easy one to fix. We will do more testing with them over this week

Considering (1) above is only at VB6 development time it is not a problem for us because the deployed application works fine. So I think we should just close the issue and just put it down to something peculiar to our development environment. Thanks for the support
Jason Farrar (Admin)

From: USA
Posts: 223
Member Since: 07/24/07

Extra Support Options
Custom Application Development

posted May 19, 2009 12:00 PM

Duly, noted and your quite welcome.

-Jason
Reply | PowerTCP Winsock for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX