SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jan 2011
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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

  2. #2
    SitePoint Member
    Join Date
    Aug 2010
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •