π
<-

Help with the NavNet API

C, C++, ASM...

Help with the NavNet API

Unread postby 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.
You do not have the required permissions to view the files attached to this post.
User avatar
Mumflr Fumperdink
Niveau 2: MI2 (Membre Initié)
Niveau 2: MI2 (Membre Initié)
Level up: 80%
 
Posts: 4
Joined: 15 Jan 2019, 22:53
Gender: Not specified
Calculator(s):
MyCalcs profile

Return to Native: Ndless, Linux, ...

Who is online

Users browsing this forum: ClaudeBot [spider] and 1 guest

-
Search
-
Social TI-Planet
-
Featured topics
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
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1019 utilisateurs:
>1006 invités
>7 membres
>6 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)