Hi All,
I am very new to TCL and I have started with socket programming using the sockets.
coming from a .Net background on network programming using windows sockets, I need to implement some code using TCL.
In windows sockets I have the option of selecting the kind of socket using the
SocketType.Stream/Dgram/raw and
ProtocolType.TCP/udp/IP
during creating a new socket.
1. Is there any equivalent thing in TCL?
2. How do I determine the other properties of a TCL 'socket'?
3. I see that TCL sockets are used only for TCP based connections.. am I right? If so what about other kind of protocols.
Do [teacup install udp] to get the tcludp package which enables udp sockets across platforms. See more at http://wiki.tcl.tk/tcludp.
Thanks jeffh..
but I am still wondering how to find a solution for my 1. and 2.
questions.
read the socket and fconfigure manuals.
eg: make a google search for the manual: