Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I want to use the WICED WiFi system to 'pass thru' all TCP packets from an incoming WiFi connection (WICED SoftAP server) to an outgoing WiFi client connection. I don't want to 'listen' to all possible ports. What's the easiest way to do this?
Are you asking for the WICED module to act as a WIFI repeater? To pass the WIFI signal from Client side, and send same one via SoftAP side? If so this requires almost an entire router stack. We don't intend it to be use in such a matter. Or am I missing something?
Actually, what I really want is the equivalent of the standard Berkeley 'sockets' capability of "ANY PORT" when doing a bind/listen/accept sequence. While there is a WICED_ANY_PORT value for the 'bind' command, the listen command requires a specific TCP Port as its second parameter (whereas the standard sockets approach uses 'connection depth' as the second parameter). I've tried every combination of bind/listen/accept to try to have the code accept any incoming TCP connection, regardless of its port#, and I can't get it to work. Thus, I would need a separate socket for each possible incoming port#.