Skip to content
Tcl Source Code View Ticket
Login

View Ticket

UDP support

Open911198ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 14 years ago
Descriptionplain2004-03-07 02:18:25
Well,
  
  I bring here once again a very old issue that many
  of the TCL users would like to have and actually jealous
  at their PERL mates who do have more support and
  features when it comes to networking and more..

  Please add UDP support, it could an nice option
  for the [socket] command.

  Working on a general command to create raw
  packets, icmp packets and more will be a great
  feature, but UDP should be implemented first.

  Reminder: http://www.google.com/search?
q=+++++site%3Atcl.tk+udp


Thanks.
patthoytsplain2004-03-08 07:38:22
Logged In: YES 
user_id=202636

See http://wiki.tcl.tk/udp for some information on this. The
tcludp extension at http://sourceforge.net/projects/tcludp
provides UDP support quite nicely for (hopefully) all
platforms. There is also the 'ceptcl' project at
http://www.fivetones.net/ but at this time this project is
unix only.
dkfplain2004-03-08 16:08:36
Logged In: YES 
user_id=79902

The problem is UDP doesn't sit at all well with channels. 
That's what's been holding things up so far.  Assigning to
AKu who's had a few ideas in this area...
dkf Ticket [911198ffff]: 1 change [History diff]2004-03-08 17:35:17
nobodyplain2005-04-05 03:22:55
Logged In: NO 

This will indeed be nice!
dkfplain2005-04-27 04:36:03
Logged In: YES 
user_id=79902

See also FRQs 217832 and 219189
ceroplain2009-06-09 02:13:18
What about udp sockets for tcl? As I've seen http://students.cs.tamu.edu/mmiller/tcl/channel.html they should fit into the core channel I/O architecture.
dkfplain2009-06-09 21:26:36
See tcludp extension.

Also note that the fit is imperfect as UDP works with datagrams, not streams.
dkfplain2012-08-27 18:49:19
See also TIP #409 (assigning to TIP lead).
Log in (anonymous is fine) to add a comment.