1. NaviServer
  2. NaviServer Project
  3. nsudp

Overview

HTTPS SSH
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.

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


 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