Browse files

Adds netport() type for tcp/udp port numbers/names.

  • Loading branch information...
1 parent 6cec4b2 commit 3d3825ca566e92468b5b8418e53ae6372f17bce4 @archaelus committed Sep 6, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 include/enet_types.hrl
View
1 include/enet_types.hrl
@@ -54,6 +54,7 @@
}).
-type port_no() :: 0..65535 | binary().
+-type netport() :: list() | port_no().
-record(udp, {src_port :: port_no()
,dst_port :: port_no()

0 comments on commit 3d3825c

Please sign in to comment.