Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Nov 23, 2005, 3:08:07 PM (19 years ago)
Author:
rennerc
Message:

network_socket: changed type of ip in constructor

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

Legend:

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

    r5732 r5733  
    6363 * Constructor to connect directly
    6464 */
    65 NetworkSocket::NetworkSocket(char * ipAddress, unsigned int port)
     65NetworkSocket::NetworkSocket(IPaddress ip, unsigned int port)
    6666{
    6767  NetworkSocket();
    68   IPaddress ip;
    69   SDLNet_ResolveHost(&ip, ipAddress, port);
    7068  connectToServer(ip, port);
    7169}
  • branches/network/src/lib/network/network_socket.h

    r5732 r5733  
    7373
    7474  NetworkSocket();
    75   NetworkSocket(char * ipAddress, unsigned int port);
     75  NetworkSocket(IPaddress ip, unsigned int port);
    7676  ~NetworkSocket();
    7777
Note: See TracChangeset for help on using the changeset viewer.