Skip to content

Commit b3e772f

Browse files
committed
fix(examples): correct UDP JSON client port to match server (6002)
1 parent c9eaa91 commit b3e772f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/udp/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fn setup_clients(mut commands: Commands) {
2929
commands.spawn((
3030
NetworkBundle::new(JSON_CHANNEL),
3131
ServerNode(UdpAddress::new("0.0.0.0:0")),
32-
ClientNode(UdpAddress::new("127.0.0.1:4002")),
32+
ClientNode(UdpAddress::new("127.0.0.1:6002")),
3333
));
3434
commands.spawn((
3535
NetworkBundle::new(BINCODE_CHANNEL),

0 commit comments

Comments
 (0)