HelenOS sources
uspace/app/nterm/conn.h
uspace/srv/net/tcp/conn.h
HelenOS homepage
,
sources at GitHub