Skip to content

writev behavior for bound message-oriented socketsΒ #32

@txtdawg

Description

@txtdawg

The writev function that I see in this source code simply iterates over the vectors calling write() for each.

This should work reasonably well for stream-oriented sockets where writes are just combined into the byte stream.

For message-oriented sockets (like UDP) the behavior will be different than writev would typically give. The way I read this code, I believe it would create one packet per iov buffer (assuming a UDP socket in the connected/bound state).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions