how can i make MODBUS TCP session invalid??

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i make MODBUS TCP session invalid??

270 Views
Contributor I

In mcf52233 controller I have implemented multi master with tcp modbus protocol(multiple clients for MODBUS TCP running on PC and server running on my hardware.) for this i referred freescale_HTTP_webserver example as it is.

I want to connect maximum 5 tcp sessions.

when i am connecting 2 MODBUS TCP running on PC(Lookout), instead of 2, all 5 TCP_session get valid hence when I suppose to reconnect the MODBUS TCP i cant find any invalid session 

so please help me where i suppose to make those session invalid?? because when i go to tcp_remove() function it cant find socket

I am attaching the file with this query, please  refer it.

Original Attachment has been moved to: freescale_TCP_server.c.zip

0 Kudos
0 Replies