Skip to content

self.max_packet - newer used #4

@Rafit77

Description

@Rafit77

internal variable: self.max_packet declared in class UDPServer is never used.

Probably instead of:
buf, addr = s.recvfrom(MAX_PACKET_SIZE)
should be:
buf, addr = s.recvfrom(self.max_packet)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions