Page 1 of 1

ConnectionID() on ServerID

Posted: Sun Jun 01, 2008 1:49 pm
by Tranquil
Hello PB Team.

It would be nice if it would be possible to get the network socket handle of the ServerID returndes by createnetworkserver in conjunction with #PB_Any so that API calls can be done with these.

I tried ConnectionID on a server ID but it always failes.

Thanks
Mike

Posted: Sun Apr 05, 2009 9:55 pm
by Tranquil
Boom! Whats on this one?

ConnectionID does still not work in conjunction with a networkserver. So, how do I get the server hande (socket) using native PB Commands? Is this still not possible? (It was possible till ~Version 4.0) :-(

Posted: Sun Apr 05, 2009 10:21 pm
by freak
There actually is a ServerID(#Server) command in 4.30

Sorry, it must have been overlooked in the changelog and documentation. I did not even know it existed until i tried to create it just now :)

Posted: Sun Apr 12, 2009 11:18 pm
by klaver
So is there going to be released an updated version of docs?

Posted: Mon Apr 13, 2009 12:11 am
by freak
Not for this little thing.

Its simple: just stick in the PB server number and you get the socket out, thats all.