Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vwait with tnm

Status
Not open for further replies.

marsd

IS-IT--Management
Apr 25, 2001
2,218
US
Just a quick question.
I already posted to c.l.tcl on this so..
Can you use vwait with tnm?
Can you use it in conjunction with udp sockets?
I'm getting->
Got 127.0.0.1 33124 HI. from udpsock.
127.0.0.1 33124 HI.
0.0.0.0 5050 0.0.0.0 0 failed with 0 failing on format.
can't wait for variable "forever": would wait forever

The last line is strange as this is what I want to do
from->
set uhandle [udp open 5050]
if {[info exists uhandle]} {
set globals(udphandle) $uhandle
trace variable globals(eofflg) w [updateit]
udp bind $globals(udphandle) readable [readit]
vwait forever
}
 
Don't know 'tnm'.
But seems that you need to declare a variable of name forever (you don't need to modify it I think).

HTH

ulis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top