Hi,
I need some deeper explanation of tcp_get_socket and tcp_release_socket. I noticed that a socket allocated with tcp_get_socket and returned with tcp_release_socket cannot be allocated with tcp_get_socket again.
Is my assumption correct or do I something wrong? Do I have to build my own socket manager in case I have to allocate and de-allocate sockets?
I appreciate your feedback!
Thank you, Frank
could you please post some code that fails?
Hi Tamir,
I have to adapt to an TCP communication approach using dynamically created connections (3rd party - I cannot post). The interface requires to get a Socket and to return a Socket if the connection is closed. I noticed that with the Keil TCP/IP stack I can only allocate the number of Sockets I specified in Net_Config.c. I cannot access return sockets using tcp_get_socket.