comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: dlm for UDP networking protocol
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: dlm for UDP networking protocol [message #54253] Thu, 31 May 2007 14:08
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Thanks for the suggestion, Jo.

This is interesting but I don't think this would work as the
instrumentation protocol riding on top of the UDP connections is pretty
complicated. It's not a simple send command and then listen for a
response interaction. I have to keep channels open.

Guess I am off to fire up Visual Studio... I'm planning to start with
Randall Frank's TCP/IP dlm and build on that. I haven't looked at the
source but I'm hoping extending it will be relatively easy. One can hope...

-Rick


Jo Klein wrote:
> Hi Rick,
> Have you thought about using netcat? You could SPAWN a pipe to
> communicate with your equipment. This would get the commands to it, but
> with UDP, you will probably need a separately SPAWN'ed nc process with
> -l -u options to receive responses. Try something like
> SPAWN,'nc -u <host> <port>',UNIT=unit
> Then use WRITEU to send your commands, see online help. Don't forget to
> CLOSE and FREE_LUN your unit.
> Maybe you can play a bit with nc on the unix command line to see if you
> can make it talk to your equipment.
> Hope this helps,
> Jo
Re: dlm for UDP networking protocol [message #54255 is a reply to message #54253] Thu, 31 May 2007 11:35 Go to previous message
Jo Klein is currently offline  Jo Klein
Messages: 54
Registered: January 2006
Member
Hi Rick,
Have you thought about using netcat? You could SPAWN a pipe to
communicate with your equipment. This would get the commands to it, but
with UDP, you will probably need a separately SPAWN'ed nc process with
-l -u options to receive responses. Try something like
SPAWN,'nc -u <host> <port>',UNIT=unit
Then use WRITEU to send your commands, see online help. Don't forget to
CLOSE and FREE_LUN your unit.
Maybe you can play a bit with nc on the unix command line to see if you
can make it talk to your equipment.
Hope this helps,
Jo
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: saving mpeg is very slow
Next Topic: Re: Wavelet Coherency program

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:05:47 PDT 2025

Total time taken to generate the page: 0.00634 seconds