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

Home » Public Forums » archive » SPAWN and reading from a socket?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
SPAWN and reading from a socket? [message #7751] Thu, 16 January 1997 00:00 Go to previous message
alpha is currently offline  alpha
Messages: 49
Registered: September 1996
Member
Hello,

i want to read data directly from a TCPIP-port to get
data into IDL..

are there any better possibilities than spawning an
c-programm which feeds the data into idl?

wasn't there something like named pipes?
Or can I read from a /dev/file directly?


pro get_data

get_lun,unit

spawn,'netcat -l -h otherhost -p dataport ',unit=unit


readu,unit,data

free_lun,unit

print, data

end


any hint needed...


Hendrik


--
Panther in the Jungle __..--''``\--....___ _..,_
-BELIEVE AND DECEIVE- _.-' .-/"; ` ``<._ ``-+'~=.
http://www.ang-physik _.-' _..--.'_ \ `(^) )
.uni-kiel.de/~hendrik ((..-' (< _ ;_..__ ; `'
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: mswindows postmessage loops?
Next Topic: tiff_read files

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

Current Time: Thu Oct 09 23:01:13 PDT 2025

Total time taken to generate the page: 0.32020 seconds