Go to the documentation of this file.
   29 #define CHECK_HANDLE(handle) \ 
   30   ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client) 
   41                      size_t suggested_size,
 
   43   static char slab[65536];
 
   70                        const struct sockaddr* 
addr,
 
   73     ASSERT(0 && 
"unexpected error");
 
   87   ASSERT(memcmp(
"PING", rcvbuf->
base, nread) == 0 ||
 
   88          memcmp(
"PANG", rcvbuf->
base, nread) == 0);
 
   98   struct sockaddr_in 
addr;
 
  126                   (
const struct sockaddr*) &
addr,
 
  136                   (
const struct sockaddr*) &
addr,
 
  
UV_EXTERN int uv_udp_send(uv_udp_send_t *req, uv_udp_t *handle, const uv_buf_t bufs[], unsigned int nbufs, const struct sockaddr *addr, uv_udp_send_cb send_cb)
static uv_shutdown_t req1
UV_EXTERN int uv_run(uv_loop_t *, uv_run_mode mode)
UV_EXTERN int uv_is_closing(const uv_handle_t *handle)
UV_EXTERN void uv_close(uv_handle_t *handle, uv_close_cb close_cb)
UV_EXTERN int uv_ip4_addr(const char *ip, int port, struct sockaddr_in *addr)
static uv_shutdown_t req2
UV_EXTERN uv_loop_t * uv_default_loop(void)
UV_EXTERN int uv_udp_init(uv_loop_t *, uv_udp_t *handle)
UV_EXTERN int uv_udp_recv_start(uv_udp_t *handle, uv_alloc_cb alloc_cb, uv_udp_recv_cb recv_cb)
#define MAKE_VALGRIND_HAPPY()
UV_EXTERN int uv_udp_bind(uv_udp_t *handle, const struct sockaddr *addr, unsigned int flags)
UV_EXTERN uv_buf_t uv_buf_init(char *base, unsigned int len)
grpc
Author(s): 
autogenerated on Fri May 16 2025 03:00:27