A
alex
Hello,
My program is connected to a box. I connect to the box thanks to a
socket. My problem is:
I open an other module of my program. I can't have access to the
instance of my socket. So I would like to get the active TCP
connections and get the related socket.
I tried with the method GetActiveTCPConnections. I see my TCP
connections. How can I get the related socket?
I can only have one TCP connection on the box. So if I want to connect
one more time I have an exception. And If I disconnect my socket and
reconnect. I think it is not the best solution.
Do you have an idea?
My program is connected to a box. I connect to the box thanks to a
socket. My problem is:
I open an other module of my program. I can't have access to the
instance of my socket. So I would like to get the active TCP
connections and get the related socket.
I tried with the method GetActiveTCPConnections. I see my TCP
connections. How can I get the related socket?
I can only have one TCP connection on the box. So if I want to connect
one more time I have an exception. And If I disconnect my socket and
reconnect. I think it is not the best solution.
Do you have an idea?