Changeset 73f75c1 in network-game for server/player.h


Ignore:
Timestamp:
Nov 27, 2012, 3:51:14 AM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
2318fff
Parents:
4da5aa3
git-author:
dportnoy <dmp1488@…> (11/27/12 03:40:30)
git-committer:
dportnoy <dmp1488@…> (11/27/12 03:51:14)
Message:

Created findPlayerByAddr and added some more checks on the client name and address when receiving a message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/player.h

    r4da5aa3 r73f75c1  
    88
    99class player {
    10 private:
    11    sockaddr_in addr;
    12 
    1310public:
    1411   string name;
     12   sockaddr_in addr;
    1513
    1614   player(string name, sockaddr_in addr);
Note: See TracChangeset for help on using the changeset viewer.