Rafael Baptista
Finding the state of TCP/IP Sockets on Linux

Finding the state of TCP/IP Sockets on Linux

November 3, 2016

It is not possible through the sockets API to find the connection state of a socket. But on Linux there is a way, a user space way, to find the connection state of a socket. Network information in the Proc…

Adding and Removing Routes in the Linux Routing Table

Adding and Removing Routes in the Linux Routing Table

December 8, 2014

We will go through how to add and remove null routes in c++, though there is a lot more you can do with Linux’ routing tables. For this project I want to use the routing tables like a firewall. I…

Fixing File Descriptor Leaks in Long-Lived Servers

Fixing File Descriptor Leaks in Long-Lived Servers

May 21, 2013

So you’ve created a socket server that opens sockets over TCP/IP. After running it for a few hours under heavy load the operating system kills your process with the message “Too many open files”. What happened? The problem On most…

About Me

My name is Rafael Baptista. I lead teams that build iconic digital products used by millions of people every day.

I'm building SkyMonde, an AI-powered online travel agency.

Previously I was SVP Product at KAYAK, where I led the teams building its travel meta search, KAYAK Trips, and KAYAK for Business. Before this I led the team that built the most successful multi-brand travel SEO program including KAYAK and other brands: OpenTable, Momondo, CheapFlights, Swoodoo, Checkfelix, and HotelsCombined.

I advise companies on enterprise-scale SEO, including leading brands like Priceline and Insurify.

Previously I was CTO of Mimoco and developed the SEO program at TripAdvisor.

For many years I was a game developer, helping make games for Harmonix, Apple, THQ, LucasArts, Nickelodeon, Ubisoft and many others. My biggest selling game was the Rock Band series.

I've worked on speech recognizers at Kurzweil, and genome mapping at the MIT/WIBR Human Genome Center.

Social

linkedin icon stackoverflow icon github icon

Projects

SkyMonde

An online travel agency

airc.dev

An easy way for AI agents to communicate over the internet.

Demangler.com

Automatically demangles gcc C++ symbols

rsz.io

A very fast fully edge hosted url shortening service

KJam Build Tool

A build tool like make or bjam