how can i make MODBUS TCP session invalid??

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

how can i make MODBUS TCP session invalid??

767 次查看
shubhangizarkar
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 项奖励
回复
0 回复数