summaryrefslogtreecommitdiff
path: root/src/net.c
Commit message (Collapse)AuthorAge
* implement function which sends initial stacksReiner Herrmann2011-01-23
|
* added generic net_send function and adapted functions it is usingReiner Herrmann2011-01-23
|
* adapt player_list receive function to data storeReiner Herrmann2011-01-23
|
* implemented functions for notifying server of selected tablestack and for ↵Reiner Herrmann2011-01-20
| | | | broadcasting the selection results to all clients
* implemented functions for sending/receiving cards selected by a playerReiner Herrmann2011-01-20
|
* Refactored cardstack and tablestacks to card_stack_t and table_stacks_t, ↵Mario Kilies2011-01-16
| | | | that both now are defined as structs rather than arrays. Inserted lots of assert() calls to functions that take pointers as arguments.
* Simplified net_recv(). Refactored 'hand' from array definition to hand_t ↵Mario Kilies2011-01-16
| | | | struct definition.
* moved generic recv function to new file; use payload length inside packets ↵Reiner Herrmann2011-01-16
| | | | instead of packet length
* splitted net.c into server/client filesReiner Herrmann2011-01-15
|
* fix typo; free more stuffReiner Herrmann2011-01-15
|
* add available server/client functionality to mainReiner Herrmann2011-01-15
|
* bugfix: send correct number of playersReiner Herrmann2011-01-15
|
* added function to retrieve userlist on clientReiner Herrmann2011-01-15
|
* added NULL pointer checksReiner Herrmann2011-01-15
|
* use already available msg_type enum..Reiner Herrmann2011-01-15
|
* added functions for receiving/sending hello messages and sending list of ↵Reiner Herrmann2011-01-15
| | | | usernames
* added initial server/client codeReiner Herrmann2011-01-14