Ido Kadosh
Ido Kadosh

Reputation: 145

pythons socket.sendto third argument

I'm using python socket module, and I read that you can use either 2 or 3 arguments when using socket.sendto() command. you can specify address and message, but you can also send flags. I was wondering what these flags are? I couldn't find any information about it. what happens when you send them? what is the default value? (when you don't specify a flag) what do they do?

Upvotes: 0

Views: 396

Answers (1)

Davis Herring
Davis Herring

Reputation: 39878

As the Python documentation says, you have to go to man pages for this information. (The flags should be variables in the socket module with the same names that they have in C.)

Upvotes: 1

Related Questions