mirror of
git://erdgeist.org/opentracker
synced 2025-02-17 06:31:30 +08:00
Make ot_try_bind local again.
This commit is contained in:
parent
465cc2ecdf
commit
206c74ee2f
@ -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…
x
Reference in New Issue
Block a user