Re: [Gambas-user] Nested Socket Write does not work

2009-03-06 Thread Benoît Minisini
Sorry, I don't know how gambas works with sockets, but instead I noticed something else that perhaps is worth to be investigated. When you write on socket, you send something like [0]text. The length of this example string is 7 characters, but your formula gives 8 because you add 4 to the

Re: [Gambas-user] Nested Socket Write does not work

2009-03-06 Thread Ron_1st
On Thursday 05 March 2009, CARLOS GTR wrote: Hi, I am working in chat program in Gambas that works with TCP sockets. The problem is that the clients that connect to the server need to receive the list of the contacts that are online (as any chat), The Server has the list but cant send it.

Re: [Gambas-user] Nested Socket Write does not work

2009-03-05 Thread Benoît Minisini
Hi, I am working in chat program in Gambas that works with TCP sockets. The problem is that the clients that connect to the server need to receive the list of the contacts that are online (as any chat), The Server has the list but cant send it. This is the code: DIM y, x AS Integer

[Gambas-user] Nested Socket Write does not work

2009-03-04 Thread CARLOS GTR
Hi, I am working in chat program in Gambas that works with TCP sockets. The problem is that the clients that connect to the server need to receive the list of the contacts that are online (as any chat), The Server has the list but cant send it. This is the code: DIM y, x AS Integer FOR x =