TCP and UDP Portscans
Winfingerprint can perform TCP (banner grabbing), UDP, and ICMP Scans.
Choose a valid port range 1-65535 for both TCP and UDP Portscans (they do not have to be equal).
NOTE: By altering the Timeout (Default 3 seconds), you can adjust the select() timeout for the TCP/UDP/ICMP Scans.
TCP Portscan
TCP non-blocking
connect portscan.
Looks up portname using getservbyport
Retrieves banners for 21/ftp, 22/ssh, 23/telnet, 25/SMTP, 80/HTTP, 110/POP3, 119/NNTP, 143/IMAP, 443/HTTPS.
select
send and recv timeout (setsockopt) 5 seconds.

UDP Portscan
UDP non-blocking
connect portscan.
Looks up portname using getservbyport

select
send and recv timeout (setsockopt) 5 seconds.