This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-08-13 14:37:03

nerevar
Scratcher
Registered: 2010-05-30
Posts: 20

Java Mesh Server

Hey everyone just asking a question.
Alright so i set up a java server (using apache mina) and scratch can connect fine just the data its sending is not complete. example when the scratch client connect to the java server this is the output.
HeapBuffer[pos=0 lim=23 cap=4096: 00 00 00 13 70 65 65 72 2D 6E 61 6D 65 20 61 6E...]
00 00 00 13 70 65 65 72 2D 6E 61 6D 65 20 61 6E < that is incomplete is translates to -
????peer-name an

(im guessing the 00 00 00 13 is padding on the buffer?)

so any ideas to get the whole data do i have to change something in scratch.

Thanks, Nerevar

Offline

 

#2 2010-08-30 05:44:23

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Java Mesh Server

bump


You can now reach me on Twitter @johnnydean1_

Offline

 

#3 2010-08-30 11:38:35

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Java Mesh Server

why bump?
this topic's died long ago. well, some time ago.

Offline

 

#4 2010-09-12 17:34:06

nerevar
Scratcher
Registered: 2010-05-30
Posts: 20

Re: Java Mesh Server

wow i forgot about this but i definitely wanna try this again but i deleted my work last time hope i can figure it out this time  smile  glad to see some people interested

Offline

 

#5 2010-09-14 11:47:51

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Java Mesh Server

Me and my dad are, hes doing a Java Course and Id like to see them interact!


You can now reach me on Twitter @johnnydean1_

Offline

 

#6 2010-09-14 20:57:12

nerevar
Scratcher
Registered: 2010-05-30
Posts: 20

Re: Java Mesh Server

hmm can get it to work great in python not in java... hmm ill try again tomorrow  tongue

EDIT: yay got the whole message through to java  big_smile  will begin writing the actual server tomorrow  smile

Last edited by nerevar (2010-09-14 21:27:00)

Offline

 

#7 2010-09-15 12:21:16

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Java Mesh Server

johnnydean1 wrote:

Me and my dad are, hes doing a Java Course and Id like to see them interact!

[offtopic]Your parents are interested in programming!? Mine haven't a clue.[/offtopic]


/* No comment */

Offline

 

#8 2010-09-15 13:09:40

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Java Mesh Server

Not particualy its just none of his family had a degree and he wants one! He figured computers was the easiest as he does it with the OU


You can now reach me on Twitter @johnnydean1_

Offline

 

#9 2010-09-22 13:47:53

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Java Mesh Server

pmub


You can now reach me on Twitter @johnnydean1_

Offline

 

#10 2010-09-22 15:00:09

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Java Mesh Server

johnnydean1 wrote:

pmub

Hooray for Post My Up Bring!  smile

Last edited by nXIII (2010-09-22 15:00:19)


nXIII

Offline

 

#11 2010-09-22 15:10:33

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Java Mesh Server

lol


You can now reach me on Twitter @johnnydean1_

Offline

 

Board footer