1 /* GIO - GLib Input, Output and Streaming Library
3 * Copyright © 2008, 2009 Codethink Limited
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as published
7 * by the Free Software Foundation; either version 2 of the licence or (at
8 * your option) any later version.
10 * See the included COPYING file for more information.
14 * SECTION: gtcpconnection
15 * @title: GTcpConnection
16 * @short_description: a TCP #GSocketConnection
17 * @see_also: #GSocketConnection.
19 * This is the subclass of #GSocketConnection that is created
22 * It is currently empty; it offers no additional functionality
23 * over its base class.
25 * Eventually, some TCP-specific socket stuff will be added.
31 #include "gtcpconnection.h"
36 G_DEFINE_TYPE_WITH_CODE (GTcpConnection, g_tcp_connection,
37 G_TYPE_SOCKET_CONNECTION,
38 g_socket_connection_factory_register_type (g_define_type_id,
42 g_socket_connection_factory_register_type (g_define_type_id,
46 g_socket_connection_factory_register_type (g_define_type_id,
49 g_socket_protocol_id_lookup_by_name ("tcp"));
50 g_socket_connection_factory_register_type (g_define_type_id,
53 g_socket_protocol_id_lookup_by_name ("tcp"));
57 g_tcp_connection_init (GTcpConnection *connection)
62 g_tcp_connection_class_init (GTcpConnectionClass *class)
66 #define __G_TCP_CONNECTION_C__
67 #include "gioaliasdef.c"