how can i make MODBUS TCP session invalid??

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how can i make MODBUS TCP session invalid??

1,018件の閲覧回数
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 返答(返信)