1
<!-- ##### SECTION Title ##### -->
4
<!-- ##### SECTION Short_Description ##### -->
7
<!-- ##### SECTION Long_Description ##### -->
13
<!-- ##### SECTION See_Also ##### -->
19
<!-- ##### SECTION Stability_Level ##### -->
22
<!-- ##### SECTION Image ##### -->
25
<!-- ##### STRUCT GSocket ##### -->
31
<!-- ##### ARG GSocket:blocking ##### -->
36
<!-- ##### ARG GSocket:broadcast ##### -->
41
<!-- ##### ARG GSocket:family ##### -->
46
<!-- ##### ARG GSocket:fd ##### -->
51
<!-- ##### ARG GSocket:keepalive ##### -->
56
<!-- ##### ARG GSocket:listen-backlog ##### -->
61
<!-- ##### ARG GSocket:local-address ##### -->
66
<!-- ##### ARG GSocket:multicast-loopback ##### -->
71
<!-- ##### ARG GSocket:multicast-ttl ##### -->
76
<!-- ##### ARG GSocket:protocol ##### -->
81
<!-- ##### ARG GSocket:remote-address ##### -->
86
<!-- ##### ARG GSocket:timeout ##### -->
91
<!-- ##### ARG GSocket:ttl ##### -->
96
<!-- ##### ARG GSocket:type ##### -->
101
<!-- ##### USER_FUNCTION GSocketSourceFunc ##### -->
112
<!-- ##### ENUM GSocketType ##### -->
117
@G_SOCKET_TYPE_INVALID:
118
@G_SOCKET_TYPE_STREAM:
119
@G_SOCKET_TYPE_DATAGRAM:
120
@G_SOCKET_TYPE_SEQPACKET:
122
<!-- ##### ENUM GSocketProtocol ##### -->
127
@G_SOCKET_PROTOCOL_UNKNOWN:
128
@G_SOCKET_PROTOCOL_DEFAULT:
129
@G_SOCKET_PROTOCOL_TCP:
130
@G_SOCKET_PROTOCOL_UDP:
131
@G_SOCKET_PROTOCOL_SCTP:
133
<!-- ##### ENUM GSocketMsgFlags ##### -->
141
@G_SOCKET_MSG_DONTROUTE:
143
<!-- ##### STRUCT GInputVector ##### -->
151
<!-- ##### STRUCT GOutputVector ##### -->
159
<!-- ##### FUNCTION g_socket_new ##### -->
171
<!-- ##### FUNCTION g_socket_new_from_fd ##### -->
181
<!-- ##### FUNCTION g_socket_bind ##### -->
193
<!-- ##### FUNCTION g_socket_listen ##### -->
203
<!-- ##### FUNCTION g_socket_accept ##### -->
214
<!-- ##### FUNCTION g_socket_connect ##### -->
226
<!-- ##### FUNCTION g_socket_check_connect_result ##### -->
236
<!-- ##### FUNCTION g_socket_receive ##### -->
249
<!-- ##### FUNCTION g_socket_receive_from ##### -->
263
<!-- ##### FUNCTION g_socket_receive_message ##### -->
280
<!-- ##### FUNCTION g_socket_receive_with_blocking ##### -->
294
<!-- ##### FUNCTION g_socket_send ##### -->
307
<!-- ##### FUNCTION g_socket_send_to ##### -->
321
<!-- ##### FUNCTION g_socket_send_message ##### -->
338
<!-- ##### FUNCTION g_socket_send_with_blocking ##### -->
352
<!-- ##### FUNCTION g_socket_close ##### -->
362
<!-- ##### FUNCTION g_socket_is_closed ##### -->
371
<!-- ##### FUNCTION g_socket_shutdown ##### -->
383
<!-- ##### FUNCTION g_socket_is_connected ##### -->
392
<!-- ##### FUNCTION g_socket_create_source ##### -->
403
<!-- ##### FUNCTION g_socket_condition_check ##### -->
413
<!-- ##### FUNCTION g_socket_condition_wait ##### -->
425
<!-- ##### FUNCTION g_socket_condition_timed_wait ##### -->
438
<!-- ##### FUNCTION g_socket_get_available_bytes ##### -->
447
<!-- ##### FUNCTION g_socket_set_listen_backlog ##### -->
456
<!-- ##### FUNCTION g_socket_get_listen_backlog ##### -->
465
<!-- ##### FUNCTION g_socket_get_blocking ##### -->
474
<!-- ##### FUNCTION g_socket_set_blocking ##### -->
483
<!-- ##### FUNCTION g_socket_get_keepalive ##### -->
492
<!-- ##### FUNCTION g_socket_set_keepalive ##### -->
501
<!-- ##### FUNCTION g_socket_get_timeout ##### -->
510
<!-- ##### FUNCTION g_socket_set_timeout ##### -->
519
<!-- ##### FUNCTION g_socket_set_ttl ##### -->
528
<!-- ##### FUNCTION g_socket_get_ttl ##### -->
537
<!-- ##### FUNCTION g_socket_get_broadcast ##### -->
546
<!-- ##### FUNCTION g_socket_set_broadcast ##### -->
555
<!-- ##### FUNCTION g_socket_get_option ##### -->
568
<!-- ##### FUNCTION g_socket_set_option ##### -->
581
<!-- ##### FUNCTION g_socket_get_family ##### -->
590
<!-- ##### FUNCTION g_socket_get_fd ##### -->
599
<!-- ##### FUNCTION g_socket_get_local_address ##### -->
609
<!-- ##### FUNCTION g_socket_get_protocol ##### -->
618
<!-- ##### FUNCTION g_socket_get_remote_address ##### -->
628
<!-- ##### FUNCTION g_socket_get_socket_type ##### -->
637
<!-- ##### FUNCTION g_socket_speaks_ipv4 ##### -->
646
<!-- ##### FUNCTION g_socket_get_credentials ##### -->
656
<!-- ##### FUNCTION g_socket_join_multicast_group ##### -->
669
<!-- ##### FUNCTION g_socket_leave_multicast_group ##### -->
682
<!-- ##### FUNCTION g_socket_get_multicast_loopback ##### -->
691
<!-- ##### FUNCTION g_socket_set_multicast_loopback ##### -->
700
<!-- ##### FUNCTION g_socket_get_multicast_ttl ##### -->
709
<!-- ##### FUNCTION g_socket_set_multicast_ttl ##### -->