blob: 450a49f959bc749f754f8513ba853e1962515eb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
bind()s to address LST-ADDR on port LST-PORT and retransmits UDP
packets received to addresses(s) DST-ADDR(s) on port DST-PORT,
with modified headers to reflect the new target.
To receieve broadcast traffic, use a LST-ADDR of 0.0.0.0. If
a program is already listening on LST-PORT on LST-ADDR, you may
listen on a broadcast address such as 255.255.255.255.
Steam broadcasts to a number of different ports, so it is
sufficient to listen on a different port to your game server.
e.g. a LST-PORT of 27016 and a DST-PORT of 27015 will let you
listen on a different port to a game server, but for it to still
directly receive packets that were broadcast.
Revision history:
29th September 2010
- udprelay-1.0
-- Initial release
|