While searching something in the HLSDK (
eiface.h), I accidentally stumbled upon this functions:
Code:
// Return 1 if the packet is valid. Set response_buffer_size if you want to send a response packet. Incoming, it holds the max
// size of the response_buffer, so you must zero it out if you choose not to respond.
int (*pfnConnectionlessPacket ) ( const struct netadr_s *net_from, const char *args, char *response_buffer, int *response_buffer_size );
If I get this right, this could be used as an alternative to sockets and would allow the server's port to implement a additional custom protocol!? Would be nice if this would actually be available via AMXX.
I couldn't find anything else regarding this function in the DOCs, forum, HLSDK, google, etc. and only have a limited knowledge in MetaMod and thus can't test it there, so please excuse for being n00b if I misunderstood the function
__________________