summaryrefslogtreecommitdiff
path: root/code/esp32/components/eos/transport.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2018-01-17 07:45:32 +0100
committerUros Majstorovic <majstor@majstor.org>2018-01-17 07:45:32 +0100
commit97a7e6617f8ad06b7bff495603200b853766ecc8 (patch)
tree9e8a4aaa5b3ef366c595595871db43eae2facdc2 /code/esp32/components/eos/transport.c
parent01c3e3af2394f863323b846fa304ff7e0a30e9df (diff)
basic test for eos & fe310 passed
Diffstat (limited to 'code/esp32/components/eos/transport.c')
-rwxr-xr-xcode/esp32/components/eos/transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/esp32/components/eos/transport.c b/code/esp32/components/eos/transport.c
index 162fe86..9a9309c 100755
--- a/code/esp32/components/eos/transport.c
+++ b/code/esp32/components/eos/transport.c
@@ -60,7 +60,7 @@ static int t_open(void) {
memset((char *)&_myaddr, 0, sizeof(_myaddr));
_myaddr.sin_family = AF_INET;
_myaddr.sin_addr.s_addr = htonl(INADDR_ANY);
- _myaddr.sin_port = htons(0);
+ _myaddr.sin_port = htons(3000);
int rv = bind(udp_sock, (struct sockaddr *)&_myaddr, sizeof(_myaddr));
if (rv < 0) {