Skip to content

naviserver-project/nsudp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP over UDP driver for NaviServer 4.x
Release 1.0
vlad@crystalballinc.com

This is NaviServer module that implements HTTP over UDP support and
adds new ns_udp command for sending UDP packets.

Compatibility: The module compiles with Tcl 8.5, 8.6 and 9.0.

/*--------------------------------------------------------------------*/


 Configuration
 
   nsd.tcl
 
   ns_section    ns/servers/server/modules
   ns_param      nsudp        nsudp.so
 
   ns_section    ns/servers/server/module/nsudp
   ns_param      address    ::1
   ns_param      port       8000
 
 Usage

   Tcl commands provided by nsudp:

      ns_udp ?-timeout N? ?-noreply? ipaddr port data
      
   Example:
      ns_udp ::1 8000 "GET / HTTP/1.0\n\n"

   One might find as well testing with nc (netcat) useful:
   
       echo "GET / HTTP/1.0\n\n" | nc -u ::1 8000
       
 Authors
 
     Vlad Seryakov  vlad@crystalballinc.com
     Gustaf Neumann neumann@wu-wien.ac.at

About

UDP server for NaviServer, including HTTP over UDP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published