Changeset 2177 for pjproject/trunk/pjnath/src/pjturn-srv/main.c
- Timestamp:
- Jul 25, 2008 10:45:34 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjturn-srv/main.c
r1929 r2177 147 147 return err("Error creating UDP listener", status); 148 148 149 #if PJ_HAS_TCP 149 150 status = pj_turn_listener_create_tcp(srv, pj_AF_INET(), NULL, 150 151 TURN_PORT, 1, 0, &listener); 151 152 if (status != PJ_SUCCESS) 152 153 return err("Error creating listener", status); 154 #endif 153 155 154 156 status = pj_turn_srv_add_listener(srv, listener);
Note: See TracChangeset
for help on using the changeset viewer.