0

How we can work with setsockopt and it constants for configure our connection for example:

socket.setsockopt(socket.SOL_SOCKET,SO_BROADCAST,1)

what does SOL_SOCKET and SO_BROADCAST in code above?

shilovk
  • 11,718
  • 17
  • 75
  • 74
Alex
  • 3
  • 3
  • https://stackoverflow.com/questions/21515946/sol-socket-in-getsockopt – Nipun Aug 20 '17 at 15:41
  • https://stackoverflow.com/questions/16217958/why-do-we-need-socketoptions-so-broadcast-to-enable-broadcast – Nipun Aug 20 '17 at 15:41

0 Answers0