bind to specific address

This commit is contained in:
Jay Sorg
2010-10-19 21:23:13 -07:00
parent bb7898419f
commit 1e8b5ea2cd
5 changed files with 45 additions and 7 deletions
+2
View File
@@ -79,6 +79,8 @@ int APP_CC
trans_connect(struct trans* self, const char* server, const char* port,
int timeout);
int APP_CC
trans_listen_address(struct trans* self, char* port, const char* address);
int APP_CC
trans_listen(struct trans* self, char* port);
struct stream* APP_CC
trans_get_in_s(struct trans* self);