[erlang-questions] Best way to create a UDP relay server

Arun Muralidharan <>
Tue Oct 23 16:58:34 CEST 2012


Hi Morgan,
For each event which you are getting from users, you need some information
within the event that can relate with a session (which may or may not exist
in your application). This is what I usually see in most of the application
level protocols.

What I recommend is that, let each event have {Session ID, Request Number}
combination.
The request number can be used for any checks (duplicate events or keeping
a tab on session length etc)

-Arun


_______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121023/ac568155/attachment.html>


More information about the erlang-questions mailing list