Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK .NET / Multiplayer LAN

Author
Message
tenorm
14
Years of Service
User Offline
Joined: 24th Jan 2010
Location:
Posted: 24th Jan 2010 12:37
Hi,

I want to implement a multiplayer-support (just LAN) in my project, but there are some problems. I use the default-DGDK-functions such as dbCreateNetGame and so on, no DarkNet.

For example if I call dbNetGameExists, I always get '0'.
What kind of connection should I use for LAN?
If someone could write a very small code-snippet including how to start a lan-network and sending/receving a float I would be very glad.

Sorry for my bad english

thx tenorm
sebi
14
Years of Service
User Offline
Joined: 29th Jan 2010
Location:
Posted: 9th Feb 2010 20:34
i think you should use TCP for a session with more than 2 players.
and UDP for 2 players.
sorry a code snippet i couldn't write

P.S. please excuse my english

Login to post a reply

Server time is: 2024-03-28 15:43:56
Your offset time is: 2024-03-28 15:43:56