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?
bind function is one of "key" functions. It associates your socket (server or client) with address (ip + port). As for Windows you must use bind for WinSockets. There is good book about it "Network Programming for Microsoft Windows" by Anthony Jones and Jim Ohlund.