I am using ns_socklistencallback to open a socket and run a proc when
new connections arrive. It works great and makes socket programming
very easy - but - It does not return the socket Id. I would like to
be able to close the socket at some point. Any advice on how to get
the socket Id created by this proc?
I could use ns_socklisten and ns_sockcallback, but I have had a hard
time keeping the socket open after the first connection. My callback
exits and so does the socket. I could use a while loop - but if I
can get the socket Id opened by ns_socklistencallback it would be
cleaner.
Thanks,
M
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]>
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
field of your email blank.