tcludp
16 years agoApplied patch 1848365 to accept any boolean value for the -mcastloop option (plus...
patthoyts [Sat, 5 Jul 2008 20:41:44 +0000 (20:41 +0000)]
Applied patch 1848365 to accept any boolean value for the -mcastloop option (plus tests).

17 years agoUpdated manual page.
patthoyts [Wed, 11 Apr 2007 00:06:54 +0000 (00:06 +0000)]
Updated manual page.

17 years agoFixed dozy error on unix branch
patthoyts [Tue, 10 Apr 2007 23:49:38 +0000 (23:49 +0000)]
Fixed dozy error on unix branch

17 years agoUse winsock2 so that mingw-gcc can get the correct values for multicast.
patthoyts [Tue, 10 Apr 2007 23:36:14 +0000 (23:36 +0000)]
Use winsock2 so that mingw-gcc can get the correct values for multicast.

17 years ago * generic/udp_tcl.c: Applied patch 1693037 from Uwe Klein to
patthoyts [Tue, 10 Apr 2007 12:25:57 +0000 (12:25 +0000)]
* generic/udp_tcl.c: Applied patch 1693037 from Uwe Klein to
enable setting the SO_REUSEADDR socket option when creating a new
udp socket.
Improved error reporting on Windows.

17 years agoUpgraded TEA to 3.6 and update the version to 1.0.9. Regenerated configure.
patthoyts [Fri, 30 Mar 2007 21:22:54 +0000 (21:22 +0000)]
Upgraded TEA to 3.6 and update the version to 1.0.9. Regenerated configure.
Improved the error reporting by making use of strerror() if present.

17 years agoAdded support for IP_MULTICAST_LOOP for kostix.
patthoyts [Fri, 30 Mar 2007 11:09:44 +0000 (11:09 +0000)]
Added support for IP_MULTICAST_LOOP for kostix.

17 years agoMade the HP-UX patch more specific as if affected AIX builds (from Jeff Hobbs)
patthoyts [Wed, 31 Jan 2007 13:23:09 +0000 (13:23 +0000)]
Made the HP-UX patch more specific as if affected AIX builds (from Jeff Hobbs)

17 years agoUpdated TEA and applied patch for HP-UX from tclguy
patthoyts [Sun, 21 Jan 2007 13:12:41 +0000 (13:12 +0000)]
Updated TEA and applied patch for HP-UX from tclguy

18 years agoCopied in tcl's TclSockGetPort which is a more efficient way to convert service
patthoyts [Tue, 11 Jul 2006 12:37:51 +0000 (12:37 +0000)]
Copied in tcl's TclSockGetPort which is a more efficient way to convert service
names to port numbers as it checks for numbers first.

18 years agoAdded some optional timing to the srv tests and made 6.2 slow (timesout on linux)
patthoyts [Tue, 11 Jul 2006 11:37:23 +0000 (11:37 +0000)]
Added some optional timing to the srv tests and made 6.2 slow (timesout on linux)

18 years agoTagging for release 1.0.8 tcludp-1_0_8
patthoyts [Tue, 20 Jun 2006 13:15:59 +0000 (13:15 +0000)]
Tagging for release 1.0.8

18 years agoAdd constraints for slow tests.
patthoyts [Tue, 20 Jun 2006 13:12:48 +0000 (13:12 +0000)]
Add constraints for slow tests.

18 years agoStick to ckalloc/ckfree
patthoyts [Tue, 20 Jun 2006 13:12:18 +0000 (13:12 +0000)]
Stick to ckalloc/ckfree

18 years agoWarning suppression and made sure it all works with 8.2 - 8.5
patthoyts [Tue, 20 Jun 2006 11:01:23 +0000 (11:01 +0000)]
Warning suppression and made sure it all works with 8.2 - 8.5

18 years agoAdded new test file to run a child process as udp server.
patthoyts [Tue, 20 Jun 2006 10:34:10 +0000 (10:34 +0000)]
Added new test file to run a child process as udp server.

18 years agoFixup for MS wacky stdlib naming.
patthoyts [Mon, 15 May 2006 14:40:54 +0000 (14:40 +0000)]
Fixup for MS wacky stdlib naming.

18 years agoFixed up some error messages.
patthoyts [Mon, 15 May 2006 14:35:24 +0000 (14:35 +0000)]
Fixed up some error messages.

18 years agoFixes to the last checkin for building on windows using msys
patthoyts [Mon, 15 May 2006 14:27:16 +0000 (14:27 +0000)]
Fixes to the last checkin for building on windows using msys

18 years ago* aclocal.m4: Added check for fcntl.h and the FD_CLOEXEC flag
patthoyts [Mon, 15 May 2006 12:35:47 +0000 (12:35 +0000)]
* aclocal.m4:        Added check for fcntl.h and the FD_CLOEXEC flag
* generic/udp_tcl.c: bug #1477669 - set the close-on-exec flag for
                     the socket to avoid child processes inheriting
                     our sockets
* configure:         Regenerated with autoconf 2.59
* configure.in:      Added call to project specific code.
* tclconfig/tcl.m4:  Updated

18 years agoCheck dtplite is really available
patthoyts [Tue, 25 Apr 2006 11:13:33 +0000 (11:13 +0000)]
Check dtplite is really available

18 years agoUpdating copyright info.
patthoyts [Sun, 5 Mar 2006 10:42:08 +0000 (10:42 +0000)]
Updating copyright info.

18 years ago * tclconfig/*: Updated to TEA 3.5
patthoyts [Sat, 4 Mar 2006 00:05:43 +0000 (00:05 +0000)]
* tclconfig/*:        Updated to TEA 3.5
* configure:          Regenerated.
* generic/udp_tcl.c:  Applied patch from bug #1245141 to use
                      socklen_t type correctly (Tru64 uses a
                      64bit long for socklen_t)
* generic/udp_tcl.c:  Included a Udp_SafeInit function. Some versions
                      of MacOSX are wierd about apps testing for
                      missing functions in shared libs. (#1439508)

18 years ago * generic/udp_tcl.c: bug #1240127 - handle possible missing IP_TTL
patthoyts [Sun, 27 Nov 2005 21:31:58 +0000 (21:31 +0000)]
* generic/udp_tcl.c:  bug #1240127 - handle possible missing IP_TTL
* generic/udp_tcl.c:  bug #1358181 - fix for NetBSD 2.0
* aclocal.m4:         bug #1358189 - better method for finding dtplite
* win/makefile.vc:    Increment version to 1.0.8
* configure.in:
* configure:          regenerated

19 years agorelease 1.0.7 tcludp-1_0_7
patthoyts [Fri, 20 May 2005 00:10:44 +0000 (00:10 +0000)]
release 1.0.7

19 years agoReleasing tcludp 1.0.7
patthoyts [Fri, 20 May 2005 00:07:37 +0000 (00:07 +0000)]
Releasing tcludp 1.0.7

19 years agoFix msvc build for TEA 3.1 upgrade
patthoyts [Thu, 19 May 2005 23:38:23 +0000 (23:38 +0000)]
Fix msvc build for TEA 3.1 upgrade

19 years agoFixes to documentation and build on solaris
patthoyts [Thu, 19 May 2005 23:30:34 +0000 (23:30 +0000)]
Fixes to documentation and build on solaris

19 years agoUpdate to TEA 3.2
patthoyts [Thu, 19 May 2005 20:46:22 +0000 (20:46 +0000)]
Update to TEA 3.2

19 years ago * generic/udp_tcl.c: fconfigure options were returning lists of
patthoyts [Thu, 19 May 2005 15:41:05 +0000 (15:41 +0000)]
* generic/udp_tcl.c: fconfigure options were returning lists of
lists. Fixed.

19 years ago * generic/udp_tcl.c: Deal with bug #1178996 by changing the code
patthoyts [Thu, 19 May 2005 00:53:26 +0000 (00:53 +0000)]
* generic/udp_tcl.c: Deal with bug #1178996 by changing the code
used to cleanup sockets under Windows.

19 years ago * win/rules.vc: Applied patch 1092432 by westrick85 to handle
patthoyts [Tue, 17 May 2005 14:54:56 +0000 (14:54 +0000)]
* win/rules.vc: Applied patch 1092432 by westrick85 to handle
paths with spaces better.

19 years ago * demos/bug1158628.tcl: Demo file for this bug.
patthoyts [Wed, 27 Apr 2005 08:11:08 +0000 (08:11 +0000)]
* demos/bug1158628.tcl: Demo file for this bug.
* generic/udp_tcl.c: Applied a fix for bug #1158628 from Reinhard
Max which avoids hanging Tcl while exiting with open channels.
* configure.in:     Moved version to 1.0.7
* win/makefile.vc:

19 years ago* demos/chat.tcl: Sample Tk chat app using multicast udp.
patthoyts [Tue, 23 Nov 2004 13:39:29 +0000 (13:39 +0000)]
* demos/chat.tcl: Sample Tk chat app using multicast udp.

19 years agoFix test target tcludp-1_0_6
patthoyts [Tue, 23 Nov 2004 00:03:04 +0000 (00:03 +0000)]
Fix test target

19 years ago* win/makefile.vc: Improved the win build system.
patthoyts [Mon, 22 Nov 2004 23:48:47 +0000 (23:48 +0000)]
* win/makefile.vc: Improved the win build system.
* demos/*: Added a few sample applications, demos of broadcast,
multicast and normal operation.
* tools/mpexpand.tcl: Added app for generating documentation.

19 years agoFixed the udp_conf return value.
patthoyts [Mon, 22 Nov 2004 16:31:25 +0000 (16:31 +0000)]
Fixed the udp_conf return value.

19 years ago* generic/udp_tcl.h: Done some testing with multicast and have
patthoyts [Mon, 22 Nov 2004 16:12:48 +0000 (16:12 +0000)]
* generic/udp_tcl.h: Done some testing with multicast and have
* generic/udp_tcl.c: rationalised the fconfigure/udp_conf interfaces
a bit better. The -ttl option will set the multicast ttl if the
socket has been added to a multicast group.
Now maintains a list of groups so that this can be inspected and
when the socket is closed we will call mcastdrop for each item.

19 years ago* generic/udp_tcl.h: Fixed the -ttl option for Windows.
patthoyts [Mon, 22 Nov 2004 10:25:37 +0000 (10:25 +0000)]
* generic/udp_tcl.h: Fixed the -ttl option for Windows.

19 years ago* generic/udp_tcl.c: Added support for setting and retrieving the
patthoyts [Mon, 22 Nov 2004 10:00:30 +0000 (10:00 +0000)]
* generic/udp_tcl.c: Added support for setting and retrieving the
  TTL option on the socket. The default is specified by the system
  but can be set for individual sockets.

20 years agoFollowed up a suggestion in patch #794072 to support udp broadcast packets. root-dev-2
patthoyts [Mon, 9 Feb 2004 15:49:18 +0000 (15:49 +0000)]
Followed up a suggestion in patch #794072 to support udp broadcast packets.
This can be queried/enabled using fconfigure $s -broadcast ?1|0?

20 years agooops. Only need event source for win32
patthoyts [Mon, 9 Feb 2004 14:37:33 +0000 (14:37 +0000)]
oops. Only need event source for win32

20 years agoFixes for some errors in the Win32 code in udpClose provided in patch #820255.
patthoyts [Mon, 9 Feb 2004 14:34:55 +0000 (14:34 +0000)]
Fixes for some errors in the Win32 code in udpClose provided in patch #820255.

20 years agoApplied fix from bug #833700 to close a memory leak in UDP_CheckProc.
patthoyts [Mon, 9 Feb 2004 12:19:30 +0000 (12:19 +0000)]
Applied fix from bug #833700 to close a memory leak in UDP_CheckProc.

20 years agoAdded the standard windows nmake makefiles from the sampleextension project.
patthoyts [Mon, 9 Feb 2004 12:03:40 +0000 (12:03 +0000)]
Added the standard windows nmake makefiles from the sampleextension project.

20 years ago* Makefile.in: Fixed to build in directories other than the top
patthoyts [Mon, 9 Feb 2004 12:02:32 +0000 (12:02 +0000)]
* Makefile.in: Fixed to build in directories other than the top
of the source tree.

* generic/udp_tcl.c: Applied the patch from bug #810572 which
fixes a memory leak in udp_open - from D. Richard Hipp?

* generic/udp_tcl.h: Fix for missing define WIN32 sometimes.
* win/makefile.vc:  Added the standard windows nmake makefiles
* win/nmakehlp.c:   from the sampleextension project.
* win/rules.vc:     Visual Studio project updated as a Makefile
* win/tcludp.dsp:   project.

21 years agoNothing serious
patthoyts [Thu, 23 Oct 2003 20:25:36 +0000 (20:25 +0000)]
Nothing serious

21 years agoFix CONSTness for Tcl version < 8.4
patthoyts [Tue, 14 Oct 2003 20:37:54 +0000 (20:37 +0000)]
Fix CONSTness for Tcl version < 8.4

21 years agoUpdated the nroff document.
patthoyts [Sun, 15 Jun 2003 21:13:10 +0000 (21:13 +0000)]
Updated the nroff document.

21 years agoFixed an include bug for Linux and thinking about adding a config.h. tcludp-1_0_5
patthoyts [Sun, 15 Jun 2003 10:31:44 +0000 (10:31 +0000)]
Fixed an include bug for Linux and thinking about adding a config.h.

21 years agocleaned up warnings and updated version numbers.
patthoyts [Fri, 13 Jun 2003 22:15:48 +0000 (22:15 +0000)]
cleaned up warnings and updated version numbers.

21 years agoCleaned up some -Wall warnings under unix.
patthoyts [Fri, 13 Jun 2003 22:08:24 +0000 (22:08 +0000)]
Cleaned up some -Wall warnings under unix.

21 years agoFixed line endings and updated the version info.
patthoyts [Fri, 13 Jun 2003 20:19:47 +0000 (20:19 +0000)]
Fixed line endings and updated the version info.

21 years agoMinor typo fixes in comments
patthoyts [Wed, 11 Jun 2003 22:17:10 +0000 (22:17 +0000)]
Minor typo fixes in comments

21 years agodefined ioctlsocket for unix.
patthoyts [Tue, 3 Jun 2003 23:38:18 +0000 (23:38 +0000)]
defined ioctlsocket for unix.

21 years agodefine ioctlsocket for unix
patthoyts [Fri, 21 Mar 2003 23:05:13 +0000 (23:05 +0000)]
define ioctlsocket for unix

21 years agoFixed udpGetHandle to perform as per specs.
patthoyts [Wed, 12 Mar 2003 00:21:15 +0000 (00:21 +0000)]
Fixed udpGetHandle to perform as per specs.
Added channel Get and SetOption procedure to support fconfigure.
General layout changes to group related functions together.
Bumped version pathlevel to 1.0.5

21 years agoSkip test for unix requiring root perms.
patthoyts [Tue, 4 Mar 2003 02:05:10 +0000 (02:05 +0000)]
Skip test for unix requiring root perms.

21 years agoAdded support for symbolic port names.
patthoyts [Tue, 4 Mar 2003 01:58:26 +0000 (01:58 +0000)]
Added support for symbolic port names.

21 years agoFix bug 696632: missing man.macros
patthoyts [Mon, 3 Mar 2003 23:33:07 +0000 (23:33 +0000)]
Fix bug 696632: missing man.macros

21 years agoFixed CONST compatability for Tcl 8.3/8.4.
patthoyts [Mon, 3 Mar 2003 22:24:33 +0000 (22:24 +0000)]
Fixed CONST compatability for Tcl 8.3/8.4.
Fixed linux build by using autoconf defines for sys/ioctl.h

21 years agoChanged to MIT license tcludp-1_0_4
xiaotaow [Mon, 3 Mar 2003 06:22:35 +0000 (06:22 +0000)]
Changed to MIT license
-Xiaotao

21 years agoThe version provided by Pat Thoyts to fit into TEA format.
xiaotaow [Mon, 3 Mar 2003 06:05:32 +0000 (06:05 +0000)]
The version provided by Pat Thoyts to fit into TEA format.
-Xiaotao

21 years agoChanged by Pat to fit into TEA format
xiaotaow [Mon, 3 Mar 2003 05:57:17 +0000 (05:57 +0000)]
Changed by Pat to fit into TEA format
-xiaotao

21 years agoChanged by Pat to fit into TEA format.
xiaotaow [Mon, 3 Mar 2003 05:56:21 +0000 (05:56 +0000)]
Changed by Pat to fit into TEA format.
-Xiaotao

21 years agoInitial revision
xiaotaow [Mon, 3 Mar 2003 05:45:56 +0000 (05:45 +0000)]
Initial revision