Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5811 in orxonox.OLD for branches/network/src/lib


Ignore:
Timestamp:
Nov 28, 2005, 11:00:57 PM (19 years ago)
Author:
patrick
Message:

network: again some changes in the functino arguments order, more test abilities in the network subproject

Location:
branches/network/src/lib/network
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/network_manager.cc

    r5805 r5811  
    141141  PRINTF(0)("Create a new server socket\n");
    142142  /* creating a new network stream, it will register itself automaticaly to the class list */
    143   NetworkStream* netStream = new NetworkStream(sync, port, NET_SERVER);
     143  NetworkStream* netStream = new NetworkStream(port, sync, NET_SERVER);
    144144}
    145145
  • branches/network/src/lib/network/network_stream.cc

    r5810 r5811  
    6262
    6363
    64 NetworkStream::NetworkStream(Synchronizeable& sync, unsigned int port, NodeType type)
     64NetworkStream::NetworkStream(unsigned int port, Synchronizeable& sync, NodeType type)
    6565  : DataStream()
    6666{
  • branches/network/src/lib/network/network_stream.h

    r5809 r5811  
    3131  NetworkStream();
    3232  NetworkStream(IPaddress& address, Synchronizeable& sync, NodeType type);
    33   NetworkStream(Synchronizeable& sync, unsigned int port, NodeType type);
     33  NetworkStream(unsigned int port, Synchronizeable& sync, NodeType type);
    3434  ~NetworkStream();
    3535
Note: See TracChangeset for help on using the changeset viewer.