FreeBSD Bugzilla – Attachment 145717 Details for
Bug 192599
zero window and persist timer not set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
recv.py
recv.py (text/x-python), 456 bytes, created by
Jeremiah
on 2014-08-12 16:04:14 UTC
(
hide
)
Description:
recv.py
Filename:
MIME Type:
Creator:
Jeremiah
Created:
2014-08-12 16:04:14 UTC
Size:
456 bytes
patch
obsolete
>import socket >import sys >import time > >s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) > >saddr = sys.argv[1] >port = int(sys.argv[2]) > >s.bind((saddr, port)) > >s.listen(1) > >(conn, addr) = s.accept() > >print "Connection from", addr > >conn.setsockopt(socket.SOL_SOCKET, socket.SO_SNDBUF, 3000) >conn.setsockopt(socket.SOL_SOCKET, socket.SO_RCVBUF, 128*1024) >conn.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1) > >while True: > conn.send((1448*10)*'r') >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 192599
:
145689
| 145717 |
145718