Skip to content

Conversation

@tbartelmess
Copy link

Establishing a "connection" for UDP means that on Linux the underlying socket will deal with ICMP responses about undelivered packages.

The connection gets marked as "closed" by the OS after an "unreachable" ICMP message for the source port arrives.

From what I can tell there is not too much of a performance win for calling connect() except that every packet will have a different source port (at least on 18.04 Bionic Beaver).

Establishing a "connection" for UDP means that on Linux the underlying socket will deal with ICMP responses about undelivered packages.

The connection gets marked as "closed" by the OS after an "unreachable" ICMP message for the source port arrives.

From what I can tell there is not too much of a performance win for calling connect() execpt that every packet will have a different source port (at least on 18.04 Bionic Beaver).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant