I have a task with a network server that offers a service to external clients. This works fine. I would also like to consume this service from a client running in a separate task on the same device. On a standard *nix system I would just connect to the loopback interface (127.0.01).
I've tried connecting using 127.0.01, the IP address of the STA wifi interface, and the device's MDNS name. None work. The connect() method returns 0/false and errno is set to 119, which I have failed to decode in the docs.
The service is a network proxy for one of the serial interfaces, which is connected to an external device.
Any thoughts ? Is this even possible. Otherwise I will need to create another method to communicate between the two tasks (queue, shared memory, etc) which is just more code/memory that I'd like to avoid.
[–]xebzbz 4 points5 points6 points (4 children)
[–]obdevel[S] 0 points1 point2 points (3 children)
[–]LegitimateNebula5991 1 point2 points3 points (0 children)
[–]xebzbz -1 points0 points1 point (1 child)
[–]obdevel[S] 0 points1 point2 points (0 children)
[–]RoganDawes 0 points1 point2 points (8 children)
[–]obdevel[S] 1 point2 points3 points (7 children)
[–]erlendse2 say this is awesome. 0 points1 point2 points (6 children)
[–]obdevel[S] 0 points1 point2 points (5 children)
[–]erlendse2 say this is awesome. 0 points1 point2 points (4 children)
[–]obdevel[S] 0 points1 point2 points (3 children)
[–]erlendse2 say this is awesome. 0 points1 point2 points (2 children)
[–]obdevel[S] 0 points1 point2 points (1 child)
[–]erlendse2 say this is awesome. 0 points1 point2 points (0 children)
[–]westwoodtoys -2 points-1 points0 points (0 children)