networking dll of sandman for bennu

Started by DCelso, August 20, 2008, 07:12:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Windgate

Thats good Sandman, I don't have that error now... But I have a new problem.

The new clients keep only making Outgoing conections, but the program is made to have both, in and out, server communicates with all clients.

It is rare, I am tired to keep programming now, here is the link of the current version, /prg/multi_server.prg has the new server code, is a very simple protocol.

DOWNLOAD: http://trinit.es/DescargaDirecta/BennuDLL/NetworkTest/Windgate's%20Network%20Test%200.0.2.zip

Note that i DONT want to have a multiplayer game, I am only trying to have communication with many clients, the protocol is not ready to have many clients working moving on the screen, only is ready to communicate with them.

I an working on a local machine with many clients using the same port, could ir be the reason for the current problem?

Thanks a lot again and again Sandman :P
Iván García Subero. Programador, profesor de informática, monitor de actividades culturales y presidente de TRINIT Asociación de Informáticos de Zaragoza. http://trinit.es

Sandman

Fixed: http://wiki.bennugd.org/images/1/14/Libnetwork-v1.59-win32.zip
Linux version soon, or on request.

I'm not happy with this DLL. I tried to mimic the frame behaviour of Bennu, but that just plainly sucks if you ask me. I'll be making a new one in the future, one with events, UDP and some nice tricks I have in mind.
-- Sandman

Windgate

I like the simplicity of this dll, it has some "weird" things but is really better than the sockets one.

Trying your fix, thanks, but, which are the changes?
Iván García Subero. Programador, profesor de informática, monitor de actividades culturales y presidente de TRINIT Asociación de Informáticos de Zaragoza. http://trinit.es

Phoenix

#33
Ok! Lets see...

Im testing out this network dll. Seems really more easy to use for a non-pro socket users.

Right now, Im programming the classic "Pong" arcade for play online, but seems Im not doing it properly. Im using a server between 2 clients to be able to communicate them, I mean, both clients get online on the server and the server give them the signal to start the game. Each movement from clients is sending to the server and the server sends the info back to the clients.

The movements from clients works really properly and syncronized, at least I think so. The problem comes out when I try add a new process called "ball". I dunno how really can syncronize it on both clients. I tried sending diferent kinds of messages to the server but not working at all.

Working good now, but the ball got de-syncronized sometimes...

Sandman, I would be really pleased If you can check it out. Im sure you will find more ideas to do that the ball works properly!  ::)

Thanks!  

Link: http://www.mediafire.com/?zty22jzfz2z

Last version : http://www.mediafire.com/?mulnmtaqmmm