Socket programming on python

Hello

I’m wondering if it is possible to set up the MSS value for the send function? Did anyone try to do it? I would like to adjust the MSU value without changing it with ifconfig, so I can have several flows with different packet sizes.

Thanks for any kind of suggestion,
Anna

I dont understand your question. Exactly what library are you using?
MSS and MTU are set in the OS and usually no one tampers with them. If you give a bit more background I might be able to help.

From what I understand the send() function or the regular python standard library http://docs.python.org/library/socket.html may not be able to set these values.

For one, you would need certain privileges to change these values, I would look at OS related package for that which can make calls to OS before you initiate the send command.

thats all I know