Skip to content

Can't reconnect to a udp server #18

@vlappa

Description

@vlappa

Serve returns, which makes it impossible to start 'dispatching' if a server stops and is restarted?

https://github.com/scgolang/osc/blob/v0.11.1/udp.go#L110

osc/osc.go

Line 134 in ba4a707

func serve(r readSender, numWorkers int, exactMatch bool, dispatcher Dispatcher) error {

osc/osc.go

Line 153 in ba4a707

// If the connection is closed or the context is canceled then stop serving.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions