mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 21:33:57 -07:00
it's alive! -- hooked up new fd-handling code
This commit is contained in:
parent
ff7ac0487b
commit
3cb8070980
2 changed files with 42 additions and 17 deletions
|
@ -110,7 +110,7 @@ private:
|
|||
void handle_socket(NetconClient *client, struct socket_st* socket_rpc);
|
||||
void handle_connect(NetconClient *client, struct connect_st* connect_rpc);
|
||||
//void handle_write(NetconConnection *c);
|
||||
void handle_write(NetconConnection *c, void *buf, unsigned long len);
|
||||
void handle_write(NetconConnection *c);
|
||||
|
||||
|
||||
void phyOnDatagram(PhySocket *sock,void **uptr,const struct sockaddr *from,void *data,unsigned long len);
|
||||
|
@ -128,6 +128,8 @@ private:
|
|||
void phyOnSocketPairEndpointData(PhySocket *sock, void **uptr, void *buf, unsigned long n);
|
||||
void phyOnSocketPairEndpointWritable(PhySocket *sock, void **uptr);
|
||||
|
||||
void phyOnFileDescriptorActivity(PhySocket *sock,void **uptr,bool readable,bool writable);
|
||||
|
||||
int send_return_value(NetconClient *client, int retval);
|
||||
|
||||
ip_addr_t convert_ip(struct sockaddr_in * addr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue