hi, i wanna load from tcl a function(or something) that open a socket , setting up a server that listen over a specific port, from tcl i wanna do something like :
set mysocket1 [new mySocketObject] $mysocket1 set-remoteHost localhost $mysocket1 set-remotePort 8888 $mysocket1 set-timeInterval 1.0 .... into the c++ code i would have the code to set up this socket, and i want the information about this socket will be available from any part of c++ ns-2 code, i mean, if i use tcp agents i wanna have acces to this socket, if i use udp agent i wanna have acces to my socket , so HOW CAN I ACHIEVED THIS GLOBAL ACCESS TO MY SOCKET INFORMATION? i hope all you understand this issue. thanks so much in advance -- Ing Pedro Alonso Chaparro Valero Ciudad Politecnica de la Innovación iTEAM - Mobile Communications Group Polytechnic University of Valencia C\ Camino de Vera S/N, Edificio 8G 46022 Valencia, Spain
