Skip to content

Conversation

@mattcarr1011
Copy link

Pass in a parameter for the af_family
Set the socket and address based on that parameter
Adjust the recvfrom and sendto return types based on the parameter

Pass in a parameter for the af_family
Set the socket and address based on that parameter
Adjust the recvfrom and sendto return types based on the parameter
@msoulier msoulier added the pending Not looking at it yet label Mar 22, 2019
if readysock == self.sock:
log.debug("Data ready on our main socket")
buffer, (raddress, rport) = self.sock.recvfrom(MAX_BLKSIZE)
if self.af_family == socket.AF_INET:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be 'af_family' and not 'self.af_family'

@msoulier msoulier self-assigned this Oct 26, 2020
9001 added a commit to 9001/partftpy that referenced this pull request Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending Not looking at it yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants