forked from mirrors/tftp-hpa-google
Moved pick_port_bind() to the libcommon common code so both client and server can use it. Client can now specify a range of ephemeral ports (transaction id)
This commit is contained in:
parent
5f64014add
commit
ec5973ac5f
4 changed files with 56 additions and 34 deletions
|
@ -74,3 +74,6 @@ extern char *xstrdup(const char *);
|
|||
void (*bsd_signal(int, void (*)(int)))(int);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
int pick_port_bind(int sockfd, struct sockaddr_in *myaddr, unsigned int from, unsigned int to);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue