Last msg dropped attached, so try:
////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////
Set GroupAddress = CreateInstance("System", System.Net.Sockets.UdpClient");
Set GroupPort = 11000;
Set Sender = CreateInstance("System",System.Net.Sockets.UdpClient");
Set GroupEP =
CreateInstance("System","System.Net.IPEndPoint",GroupAddress,GroupPort);
Set Bytes =
CreateInsatnce("system","System.text.Encoding.Ascii.getBytes","---Place
message between quotes---");
//Check last line, I did not find the object within the list;
Sender.Send(Bytes,Bytes.length,groupEP)
////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////
Disclaimer, not tested
Rufus
-----Original Message-----
From: Shawn Fessenden [mailto:shawn@testech-ltd.com]
Sent: Wednesday, October 06, 2004 8:31 AM
To: VRF
Subject: [vrf] RE: Multicasting using UDP in VEE
> "Transaction I/O" implies connection oriented, I think? Therefore TCP
only?
Absolutely correct.
You'll need to use a different socket. I hear tons of good things about
Socket Wrench, an ActiveX control. If you have Visual Basic installed you
already have MS's Winsock ActiveX control. I'm sure there's provision for
accessing the Winsock API through the .NET framework too.
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////
Set GroupAddress = CreateInstance("System", System.Net.Sockets.UdpClient");
Set GroupPort = 11000;
Set Sender = CreateInstance("System",System.Net.Sockets.UdpClient");
Set GroupEP =
CreateInstance("System","System.Net.IPEndPoint",GroupAddress,GroupPort);
Set Bytes =
CreateInsatnce("system","System.text.Encoding.Ascii.getBytes","---Place
message between quotes---");
//Check last line, I did not find the object within the list;
Sender.Send(Bytes,Bytes.length,groupEP)
////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////
Disclaimer, not tested
Rufus
-----Original Message-----
From: Shawn Fessenden [mailto:shawn@testech-ltd.com]
Sent: Wednesday, October 06, 2004 8:31 AM
To: VRF
Subject: [vrf] RE: Multicasting using UDP in VEE
> "Transaction I/O" implies connection oriented, I think? Therefore TCP
only?
Absolutely correct.
You'll need to use a different socket. I hear tons of good things about
Socket Wrench, an ActiveX control. If you have Visual Basic installed you
already have MS's Winsock ActiveX control. I'm sure there's provision for
accessing the Winsock API through the .NET framework too.
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
> program and send it a "kill" event?
You have the right idea. The proper way to exit an application is to find
it's main window handle and send it a WM_CLOSE message. You can also use
TerminateProcess, but that is an emergency measure only. It's basically like
using the "End Process" button of the Task Manager.
Finding a main window handle is not difficult. There have been several
different solutions posted through the years. Search the archive for
BodyContains = FindWindow and you'll get a lot of hits.
If the application is stubborn and doesn't want to close, search the archive
for AttachmentName = KillExcel. Excel is notorious for not behaving properly
:). KillExcel is easy to modify for any process.
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".