gmdb_transport_connect
SDK function gmdb_transport_connect is present in the supplied Tanks SDK. Its exact behaviour needs review before publication.
Syntax
gmdb_transport_connect(Syntax: gmdb_transport_connect(_socket,_url,_port);
Parameters: _socket,_url,_port
Confirm each parameter type, required/optional status, and accepted values.);Arguments
Syntax: gmdb_transport_connect(_socket,_url,_port); Parameters: _socket,_url,_port Confirm each parameter type, required/optional status, and accepted values.
Return value / result
Not yet verified. Review the SDK implementation and document the actual return type and possible values.
GameMaker example
// Signature example — replace parameters with values from your game.
gmdb_transport_connect(_socket,_url,_port);Details
REVIEW CHECKLIST
- Confirm purpose and whether intended for public use
- Confirm argument types and valid values
- Confirm return values and asynchronous behaviour
- Test the example in GameMaker
- Check any required Create / Step / Async event setup
SDK source: SDK_TANKS_HTML/scripts/gmdb_html5_transport/gmdb_html5_transport.gml
- Confirm purpose and whether intended for public use
- Confirm argument types and valid values
- Confirm return values and asynchronous behaviour
- Test the example in GameMaker
- Check any required Create / Step / Async event setup
SDK source: SDK_TANKS_HTML/scripts/gmdb_html5_transport/gmdb_html5_transport.gml
SDK source
SDK_TANKS_HTML/scripts/gmdb_html5_transport/gmdb_html5_transport.gml