mirror of
git://erdgeist.org/opentracker
synced 2025-04-21 21:52:00 +02:00
Make ot_try_bind local again.
This commit is contained in:
parent
465cc2ecdf
commit
206c74ee2f
1 changed files with 0 additions and 3 deletions
|
@ -46,9 +46,6 @@ extern time_t g_now;
|
||||||
extern uint32_t g_tracker_id;
|
extern uint32_t g_tracker_id;
|
||||||
typedef enum { FLAG_TCP, FLAG_UDP, FLAG_MCA } PROTO_FLAG;
|
typedef enum { FLAG_TCP, FLAG_UDP, FLAG_MCA } PROTO_FLAG;
|
||||||
|
|
||||||
/* Try to bind to ip:port pair. May call exit() on failure */
|
|
||||||
int64_t ot_try_bind( char ip[4], uint16_t port, PROTO_FLAG proto );
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint8_t data[8];
|
uint8_t data[8];
|
||||||
} ot_peer;
|
} ot_peer;
|
||||||
|
|
Loading…
Add table
Reference in a new issue