Uso di Datagram UDP in ambiente Windows

......... recvUDP.c ......... server UDP, C source
......... recvUDP.dsp ..... server UDP, Msvc 5.0 project
......... recvUDP.dsw ..... server UDP, Msvc 5.0 workspace
......... sendUDP.c ......... client UDP, C source
......... sendUDP.dsp ..... client UDP, Msvc 5.0 project
......... sendUDP.dsw ..... client UDP, Msvc 5.0 workspace
......... sockwin.c ..... funzioni inizializzazione winsock
......... sockwin.h ..... header funzioni inizializzazione winsock

Scopo:
Il client invia una stringa al server
il quale la stampa

N.B. USO
Collocare i due file in due host (anche lo stesso),
es.: recvUDP.c in host1 e sendUDP.c su host2,
compilare,
eseguire prima recvUDP su host1 (es: recvUDP 5001),
e poi eseguire sendUDP su host2 (es: sendUDP IP_host1 5001 ),

N.B. Compilazione e Linking
--- su Windows 95 usare la libreria wsock32.lib
--- su Windows NT / windows 2000 usare la libreria ws2_32.lib