π
<-

Help with the NavNet API

C, C++, ASM...

Help with the NavNet API

Message non lude Mumflr Fumperdink » 23 Jan 2019, 16:15

Hey!

I have recently started porting an online flash game called, “Tank Trouble”. The game involves a lot of multiplayer, so I was hoping I could use a calc-to-calc wire I have and create a multiplayer game.

I went to Hackspire and found the NavNet API. I had multiple attempts of using it and I looked for any examples. Unfortunately, I never found any luck and the connect function always returns a negative number. I found one example of the library: https://github.com/compujuckel/nsocket/ ... /nsocket.c. So I started using that, but the init function, again, always returned -1. Here is a picture of a test run, with each function in the init function in nsocket.h being followed by its output:

exapmle.png


I was wondering if anybody could send a very simple demo calc-to-calc program so I could see whether this is a hardware problem or just me not understanding how Navnet works.

Thank You for any help.
Vous n’avez pas les permissions nécessaires pour voir les fichiers joints à ce message.
Avatar de l’utilisateur
Mumflr Fumperdink
Niveau 2: MI2 (Membre Initié)
Niveau 2: MI2 (Membre Initié)
Prochain niv.: 80%
 
Messages: 4
Inscription: 15 Jan 2019, 22:53
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Retourner vers Native: Ndless, Linux, ...

Qui est en ligne

Utilisateurs parcourant ce forum: ClaudeBot [spider] et 2 invités

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
Comparaisons des meilleurs prix pour acheter sa calculatrice !
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234
-
Faire un don / Premium
Pour plus de concours, de lots, de tests, nous aider à payer le serveur et les domaines...
Faire un don
Découvrez les avantages d'un compte donateur !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partenaires et pub
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
2623 utilisateurs:
>2609 invités
>7 membres
>7 robots
Record simultané (sur 6 mois):
29271 utilisateurs (le 11/07/2025)
-
Autres sites intéressants
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)