Message 1 of 1
CSocket operation

Not applicable
02-27-2002
11:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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
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