(self, sock, basecls=None)
| 506 | desc = "StreamSocket that doesn't use MSG_PEEK" |
| 507 | |
| 508 | def __init__(self, sock, basecls=None): |
| 509 | # type: (socket.socket, Optional[Type[Packet]]) -> None |
| 510 | from scapy.sessions import TCPSession |
| 511 | self.sess = TCPSession(app=True) |
| 512 | super(StreamSocketPeekless, self).__init__(sock, basecls) |
| 513 | |
| 514 | # 65535, the default value of x is the maximum length of a TLS record |
| 515 | def recv(self, x=None, **kwargs): |
nothing calls this directly
no test coverage detected