Support multihomed servers

This commit is contained in:
Keith Winstein
2012-02-02 17:21:49 -05:00
parent 3edccf1f2e
commit 740226e66a
6 changed files with 39 additions and 13 deletions
+2 -2
View File
@@ -85,8 +85,8 @@ namespace Network {
void update_MTU( void );
public:
Connection();
Connection( const char *key_str, const char *ip, int port );
Connection( const char *desired_ip ); /* server */
Connection( const char *key_str, const char *ip, int port ); /* client */
void send( string s );
string recv( void );