I\'m learning C socket programming. When would you use bind() on the client-side? What types of program will need it and why? Where can I find an example?
An example would be the data connection of an active FTP connection. In this case, the server connects from its port 20 to the IP and port specified by a PORT or EPRT command.