GLBasic forum

Feature request => Network => Topic started by: Moru on 2008-Oct-26

Title: ID of the client/server sending a message
Post by: Moru on 2008-Oct-26
It would be nice with an ID so you know who sent what message without having to believe the client that sent the message. For example in a chat it's easy to say that some other client sent a chat message but just altering the message sent.

"Moru: Blablabla" - realy sent from "haxor" guy

Also some way of noticing when a client disconnected or to kick a client.

Some way of setting what port the server is listening on and ofcourse the client needs to know what port to connect to if it's not the standard port.
Title: Re: ID of the client/server sending a message
Post by: Kitty Hello on 2008-Oct-27
What does NETGETSENDER$ do? I'm not sure anymore.
Title: Re: ID of the client/server sending a message
Post by: Hemlos on 2008-Oct-28
NETGETSENDER$ sends a unique ID, which is set by NETGETPLAYERS if im not mistaking.