Skip to content

TCP smoke testing #407

Closed
Closed
@yoshuawuyts

Description

@yoshuawuyts

Currently our system isn't running automated tests for TCP. We should at least have some smoke tests for:

  • async_std::net::TcpListener + std::net::TcpStream (test tcp server)
  • async_std::net::TcpStream + std::net::TcpListener (test tcp client)

There's an empty tests/tcp.rs file which we could use to fill in. This should be quite straight forward when basing it on the examples. The only tricky part would be how to do shutdown, but dropping a task should work well enough here (: Marking this as a good first issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions