Check out Amazon.com!

BlitzCoder Code Archives PageMain Codes Page
Listing: Multiplayer Programming (8 Entries)
Title: Bit Fields Code Submitted By:
- poedboy
BitFields allow you to store multiple on/off values within a single byte.
2 Functions : GetBit() and SetBit()
 
Title: Directory Server Code Submitted By:
- orion pax

This is a directory server program! For those of you who wish to create games/software that has standalone server support and need a way for the clients to download a list of ONLINE games. Use this code! It reports the servers name and the DNS name. Read the comments to learn how to use it with your server software!
 
Title: OpenTCPStream lag demo Code Submitted By:
- thechange

When a client connects to a host, the program will be paused for a certain amount of time.
 
Title: Replaying user input using a collection of Types Code Submitted By:
- matt_sephton
23/24 June 2002, version 0.10, tracks user controlled element
26/27 June 2002, version 0.20, tracks multiple computer controlled elements

to do: enable early quit of replay to go back to game

*** feel free to use this method as long as you give me credit

this method can be used to replay user input. this simple demo records the player control of a dot. we choose to do the correct branch of the main loop (moving or drawing) depending on if we are recording (game) or replaying (watching). this could be extended to keep track of multiple items, such as computer/AI controlled characters.

:) matt
 
Title: TCP network server. Handles upp to 400 players ! Code Submitted By:
- wingsoffury
Here is my newest server and client codes.
this network code handles upp to 400 players.
it has ability to send username and user cordinates. and broadcasts.
server manage this by packing all user data into one big 8k package. then it sends this 8k to each clients. clients replys with a 64byte package. broadcast and messages are sent using a second stream.

Everyone may use this code in their projects. but i cant prommise it work flawless. because this is only a mear example how it works.
 
Title: Tiny TCP chat Code Submitted By:
- thechange

Demonstration of the TCP commands using a tiny program.
 
Title: Verry basic tpc port 80 server code. v0.01 Code Submitted By:
- wingsoffury

This code almoust works.

It shows you how you can use sessions to serve a game server.

users.
 
Title: network Chatt server v1.0 The server part Code Submitted By:
- wingsoffury

This a verry basic network chatt server. well coment.

It will show u how you can program a simple text based chat server.
 
Add Your Code!
Copyright(c) 2000-2004, BlitzCoder. All Rights Reserved.

Code software created by Krylar's Kreations