Skip to content

Chapter 2: time_server.c #20

@IstiCusi

Description

@IstiCusi

Hi codeplea,

I realized the following behavior: The server closes after connection of the client browser. Closing the browser on the local maschine
leads to the strange state, that the server cannot bind to the 8080 port. This I observed on my local Debian machines.
Is there maybe something not released in the example code. After some time the binding is again possible. I think this is reasoned by TIME_WAIT for old packages. But it needs really minutes that the 8080 port is available again. Is there a way
to programmatically avoid this wait cycle. Maybe to early asked -- started the book reading some minutes ago.

Thanks for info, Stephan

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