Next-in-Thread Next-in-Thread
 Next Message Next Message

Re: Return Code from MCCIConnect 

Forum: CCI for Perl
Re: Return Code from MCCIConnect (Stan Letovsky)
Date: 1995, Jan 23
From: Adrian Howard

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

 Next-in-Thread Next-in-Thread
 Next Message Next Message
Inline:
 1 1
 All All
Outline:
 1 1
 2 2
 All All

 Add Add
to: "Re: Return Code from MCCIConnect"

 Members Members
 Subscribe Subscribe
 Admin Mode Admin Mode
 Show Frames Show Frames
 Help Help


Earn money with Scour!
Google
 
Web www.HyperNews.org
Earn money with Scour!