CSocket operation

CSocket operation

Anonymous
Not applicable
183 Views
0 Replies
Message 1 of 1

CSocket operation

Anonymous
Not applicable
I'm have created an arx command for Autocad Architectural Deskop 3.3 that opens a CSocket and waits for incoming connections. Then, an external client should connect and transmit geometry information to display.
The problem is that the accept funtion blocks Autocad and nothing can resume it, unless kill it with the task manager.
I've tried with a timeout socket and with nonblocking sockets (using IOctl) but Autocad still freezes.
I'd like to stop server listening with a key button.
Could you help me, please?

Marco
0 Likes
184 Views
0 Replies
Replies (0)