Hi,
I am testing simple UDP Client/server application.
I get this on console:
0 98 [IP-task]
The following network interfaces are available:
Interface 1 - rpcap://\Device\NPF_{F13A9E5D-BAD9-4454-A630-B54F94B08672}
1 98 [IP-task] (Network adapter 'Intel(R) PRO/1000 MT síeové pYipojení' on local host)
2 98 [IP-task] Interface 2 - rpcap://\Device\NPF_{F142B748-A693-4964-9F66-B5F80DA00E81}
(Network adapter 'Microsoft' on local host)
3 98 [IP-task]
Attempting to open interface number 1.
4 2205 [IP-task] vDHCPProcess: offer 192.168.1.20
vDHCPProcess: offer 192.168.1.20
5 2306 [IP-task]
IP Address: 192.168.1.20
Subnet Mask: 255.255.255.0
6 2307 [IP-task] Gateway Address: 192.168.1.1
DNS Server Address: 192.168.1.1
When enabled debug printing to UDP, I see traffic from 192.168.1.20 which is address allocated by DHCP to this application to 192.168.0.11 which is echo server in my case.
Especially line in server part
lBytes = FreeRTOS_recvfrom( xListeningSocket, cReceivedString, sizeof( cReceivedString ), 0, &xClient, &xClientLength );
returns with -11 and subsequent assert fails. When commenting out assert, application continues but receive returns always -11.
Socket is properly opened without error.
Client send function returns number of bytes send always 51.
I don’t see any traffic from client to server task on port 5005 using Wireshark.
(tried also port 4500, same result)
tried with firewall switched off, tried with enabling app through firewall, tried enable port 5005.
disabled also zero copy client/server tasks.
disabled TCP tasks which also don’t work.
ping RTOSDemo from other PC works
what could be the problem? thanks
rum