Skip to content

Instantly share code, notes, and snippets.

@creationix
Created November 21, 2012 23:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save creationix/ae537b694b4c01aed2ba to your computer and use it in GitHub Desktop.
Save creationix/ae537b694b4c01aed2ba to your computer and use it in GitHub Desktop.
(gdb) p *stream
$2 = {close_cb = 0x0, data = 0x400095c0,
loop = 0x7ffff7303a00 <default_loop_struct>, type = UV_TCP, handle_queue = {
prev = 0x66f510, next = 0x7ffff7303a18 <default_loop_struct+24>},
flags = 8289, next_closing = 0x0, write_queue_size = 0, alloc_cb = 0x0,
read_cb = 0x0, read2_cb = 0x0, connect_req = 0x0, shutdown_req = 0x0,
io_watcher = {cb = 0x7ffff70e72c1 <uv__stream_io>, pending_queue = {
prev = 0x66f6d8, next = 0x66f6d8}, watcher_queue = {prev = 0x66f6e8,
next = 0x66f6e8}, pevents = 0, events = 0, fd = -1}, write_queue = {
prev = 0x66f708, next = 0x66f708}, write_completed_queue = {
prev = 0x66f718, next = 0x66f718}, connection_cb = 0x0, delayed_error = 0,
accepted_fd = -1}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment