Changeset 5733 in orxonox.OLD for branches/network/src/lib
- Timestamp:
- Nov 23, 2005, 3:08:07 PM (19 years ago)
- Location:
- branches/network/src/lib/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_socket.cc
r5732 r5733 63 63 * Constructor to connect directly 64 64 */ 65 NetworkSocket::NetworkSocket( char * ipAddress, unsigned int port)65 NetworkSocket::NetworkSocket(IPaddress ip, unsigned int port) 66 66 { 67 67 NetworkSocket(); 68 IPaddress ip;69 SDLNet_ResolveHost(&ip, ipAddress, port);70 68 connectToServer(ip, port); 71 69 } -
branches/network/src/lib/network/network_socket.h
r5732 r5733 73 73 74 74 NetworkSocket(); 75 NetworkSocket( char * ipAddress, unsigned int port);75 NetworkSocket(IPaddress ip, unsigned int port); 76 76 ~NetworkSocket(); 77 77
Note: See TracChangeset
for help on using the changeset viewer.