fiorix / go-diameter

Diameter stack and Base Protocol (RFC 6733) for the Go programming language
Other
252 stars 143 forks source link

One Client dials to Multiple Server #182

Closed keyan007 closed 1 year ago

keyan007 commented 1 year ago

I need to establish connection to multiple servers, Should I create new state machine for each Client connection? or one state machine and set that state machine to all client struct.

fiorix commented 1 year ago

You probably need one state machine for each connection because that code is not made to be shared amongst multiple connections.

keyan007 commented 1 year ago

Thanks.