1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 06:01:28 +00:00

Moving block_socket() and unblock_socket() from Nmap to Nbase for reuse in

Nsock and Ncat
This commit is contained in:
kris
2008-08-02 03:44:35 +00:00
parent 178a40f281
commit 910cb5ca48
2 changed files with 0 additions and 34 deletions

View File

@@ -700,7 +700,6 @@ bool setTargetNextHopMAC(Target *target);
int islocalhost(const struct in_addr * const addr);
int isipprivate(const struct in_addr * const addr);
int unblock_socket(int sd);
// Takes a protocol number like IPPROTO_TCP, IPPROTO_UDP, or
// IPPROTO_IP and returns a ascii representation (or "unknown" if it
@@ -746,9 +745,6 @@ void max_rcvbuf(int sd);
max allowed */
int max_sd();
/* Convert a socket to blocking mode */
int block_socket(int sd);
/* Give broadcast permission to a socket */
void broadcast_socket(int sd);