|
Yes, it does seem slightly strange. Currently a NULL MCCIPort gets
returned if:
- You can't get an IP from the host name
- Socket creation fails
- You cannot malloc space for the MCCIPort
- Connection to the socket fails
That last one certainly caused me problems since it doesn't retry after an
EINTR signal interrupt (had to hack the source to get over that
one.)
Anyway, currently the best you can do is to do MCCIIsConnected
after the MCCIConnect to test to see if the connection is valid.
Adrian
|