Debian Codegraph @

doc/gssdp-1.6/class.Client.html

raw symbols SCIP
1 <!--
2 SPDX-FileCopyrightText: The GUPnP developers
3
4 SPDX-License-Identifier: LGPL-2.1-or-later
5 -->
6
7 <!DOCTYPE html>
8 <html lang="en">
9 <head>
10 <title>GSSDP.Client</title>
11 <meta name="viewport" content="width=device-width, initial-scale=1">
12
13 <meta charset="utf-8" />
14
15
16 <meta property="og:type" content="website"/>
17
18
19 <meta property="og:image:width" content="256"/>
20 <meta property="og:image:height" content="256"/>
21 <meta property="og:image:secure_url" content="gupnp-logo-short.svg"/>
22 <meta property="og:image:alt" content="GSSDP-1.6"/>
23
24
25
26 <meta property="og:title" content="GSSDP.Client"/>
27 <meta property="og:description" content="Reference for GSSDP.Client"/>
28 <meta name="twitter:title" content="GSSDP.Client"/>
29 <meta name="twitter:description" content="Reference for GSSDP.Client"/>
30
31
32
33 <meta name="twitter:card" content="summary"/>
34
35
36
37
38
39
40 <link rel="stylesheet" href="style.css" type="text/css" />
41
42
43
44
45 <script src="urlmap.js"></script>
46
47
48 <script src="fzy.js"></script>
49 <script src="search.js"></script>
50
51 <script src="main.js"></script>
52
53
54 </head>
55
56 <body>
57 <div id="body-wrapper" tabindex="-1">
58
59 <nav class="sidebar devhelp-hidden">
60
61 <div class="section">
62 <a href="index.html"><img src="gupnp-logo-short.svg" class="logo"/></a>
63 </div>
64
65
66 <div class="search section">
67 <form id="search-form" autocomplete="off">
68 <input id="search-input" type="text" name="do-not-autocomplete" placeholder="Click, or press 's' to search" autocomplete="off"/>
69 </form>
70 </div>
71
72 <div class="section namespace">
73 <h3><a href="index.html">GSSDP</a></h3>
74 <p>API Version: 1.6</p>
75
76 <p>Library Version: 1.6.6</p>
77
78 </div>
79
80 <div class="section">
81 <h5>Type</h5>
82 <div class="links">
83 <a class="current" href="class.Client.html#description">Client</a>
84 </div>
85 </div>
86
87
88
89 <div class="section">
90 <h5>Constructors</h5>
91 <div class="links">
92
93 <a class="ctor" href="ctor.Client.new.html">new</a>
94
95 <a class="ctor" href="ctor.Client.new_for_address.html">new_for_address</a>
96
97 <a class="ctor" href="ctor.Client.new_full.html">new_full</a>
98
99 <a class="ctor" href="ctor.Client.new_with_port.html">new_with_port</a>
100
101 </div>
102 </div>
103
104
105
106
107
108
109
110 <div class="section">
111 <h5>Instance methods</h5>
112 <div class="links">
113
114 <a class="method" href="method.Client.add_cache_entry.html">add_cache_entry</a>
115
116 <a class="method" href="method.Client.append_header.html">append_header</a>
117
118 <a class="method" href="method.Client.can_reach.html">can_reach</a>
119
120 <a class="method" href="method.Client.clear_headers.html">clear_headers</a>
121
122 <a class="method" href="method.Client.get_active.html">get_active</a>
123
124 <a class="method" href="method.Client.get_address.html">get_address</a>
125
126 <a class="method" href="method.Client.get_address_mask.html">get_address_mask</a>
127
128 <a class="method" href="method.Client.get_family.html">get_family</a>
129
130 <a class="method" href="method.Client.get_host_ip.html">get_host_ip</a>
131
132 <a class="method" href="method.Client.get_index.html">get_index</a>
133
134 <a class="method" href="method.Client.get_interface.html">get_interface</a>
135
136 <a class="method" href="method.Client.get_network.html">get_network</a>
137
138 <a class="method" href="method.Client.get_port.html">get_port</a>
139
140 <a class="method" href="method.Client.get_server_id.html">get_server_id</a>
141
142 <a class="method" href="method.Client.get_tcp_socket.html">get_tcp_socket</a>
143
144 <a class="method" href="method.Client.get_uda_version.html">get_uda_version</a>
145
146 <a class="method" href="method.Client.guess_user_agent.html">guess_user_agent</a>
147
148 <a class="method" href="method.Client.remove_header.html">remove_header</a>
149
150 <a class="method" href="method.Client.set_boot_id.html">set_boot_id</a>
151
152 <a class="method" href="method.Client.set_config_id.html">set_config_id</a>
153
154 <a class="method" href="method.Client.set_network.html">set_network</a>
155
156 <a class="method" href="method.Client.set_server_id.html">set_server_id</a>
157
158 </div>
159 </div>
160
161
162
163
164 <div class="section">
165 <h5>Properties</h5>
166 <div class="links">
167
168 <a class="property" href="property.Client.active.html">active</a>
169
170 <a class="property" href="property.Client.address.html">address</a>
171
172 <a class="property" href="property.Client.address-family.html">address-family</a>
173
174 <a class="property" href="property.Client.allocate-tcp-socket.html">allocate-tcp-socket</a>
175
176 <a class="property" href="property.Client.boot-id.html">boot-id</a>
177
178 <a class="property" href="property.Client.config-id.html">config-id</a>
179
180 <a class="property" href="property.Client.host-ip.html">host-ip</a>
181
182 <a class="property" href="property.Client.host-mask.html">host-mask</a>
183
184 <a class="property" href="property.Client.interface.html">interface</a>
185
186 <a class="property" href="property.Client.msearch-port.html">msearch-port</a>
187
188 <a class="property" href="property.Client.network.html">network</a>
189
190 <a class="property" href="property.Client.port.html">port</a>
191
192 <a class="property" href="property.Client.server-id.html">server-id</a>
193
194 <a class="property" href="property.Client.socket-ttl.html">socket-ttl</a>
195
196 <a class="property" href="property.Client.tcp-socket.html">tcp-socket</a>
197
198 <a class="property" href="property.Client.uda-version.html">uda-version</a>
199
200 </div>
201 </div>
202
203
204
205
206 <div class="section">
207 <h5>Signals</h5>
208 <div class="links">
209
210 <a class="signal" href="signal.Client.message-received.html">message-received</a>
211
212 </div>
213 </div>
214
215
216
217
218
219
220
221
222
223
224 <div class="section generator">
225 <p>Generated by <a href="https://gitlab.gnome.org/GNOME/gi-docgen">gi-docgen</a> 2026.1</p>
226 </div>
227 </nav>
228
229 <button id="btn-to-top" class="hidden"><span class="up-arrow"></span></button>
230
231
232 <section id="main" class="content">
233 <header>
234 <h3>Class</h3>
235 <h1 aria-label="Name"><a href="index.html">GSSDP</a><span class="sep" role="presentation"></span>Client</h1>
236 </header>
237
238 <section>
239 <summary>
240 <div class="docblock">
241 <p></p>
242 </div>
243
244 <div class="toggle-wrapper">
245 <h4 id="description" style="display:flex;">
246 Description
247 <a href="#description" class="anchor"></a>
248
249 <a class="srclink" title="go to source location" href="https://gitlab.gnome.org/GNOME/gssdp/-/blob/libgssdp/gssdp-client.c#L88">[src]</a>
250
251 </h4>
252
253 <pre><code>class GSSDP.Client : GObject.Object
254 implements Gio.Initable {
255 /* No available fields */
256 }</pre></code>
257
258 <div class="docblock">
259 <p>A simple <span class="caps">SSDP</span> bus&nbsp;handler.</p>
260 <p>The <a href="class.Client.html"><code>GSSDPClient</code></a> will usually be used by the <a href="class.ResourceGroup.html"><code>GSSDPResourceGroup</code></a>
261 for announcing or the <a href="class.ResourceBrowser.html"><code>GSSDPResourceBrowser</code></a> for finding resources on the&nbsp;network.</p>
262 <p>A GSSDPClient is required per <span class="caps">IP</span> address that you want to use, even if those
263 belong t the same network&nbsp;device.</p>
264 </div>
265
266 <div class="docblock">
267
268
269
270 </div>
271
272
273 </div>
274 </summary>
275
276
277
278
279 <div class="toggle-wrapper ancestors">
280 <h4 id="ancestors">
281 Ancestors
282 <a href="#ancestors" class="anchor"></a>
283 </h4>
284
285 <div class="docblock">
286 <ul>
287
288
289 <li class="class"><a class="external" href="javascript:void(0)" data-link="class.Object.html" data-namespace="GObject">GObject</a></li>
290
291
292 </ul>
293 </div>
294 </div>
295
296
297
298
299
300 <div class="toggle-wrapper implements">
301 <h4 id="implements">
302 Implements
303 <a href="#implements" class="anchor"></a>
304 </h4>
305
306 <div class="docblock">
307 <ul>
308
309
310 <li class="interface"><a class="external" href="javascript:void(0)" data-link="iface.Initable.html" data-namespace="Gio">GInitable</a></li>
311
312
313 </ul>
314 </div>
315 </div>
316
317
318
319 <div class="toggle-wrapper constructors">
320 <h4 id="constructors">
321 Constructors
322 <a href="#constructors" class="anchor"></a>
323 </h4>
324
325 <div class="docblock">
326
327 <div class="deprecated">
328 <h6><a href="ctor.Client.new.html">gssdp_client_new</a></h6>
329 <div class="docblock">
330 <p>Creates a <span class="caps">GSSDP</span> client&nbsp;on <code>iface</code>. GSSDPClient will pick the address it finds
331 suitable for&nbsp;using.</p>
332 </div>
333 <div class="docblock">
334 <p><span class="emblem deprecated">deprecated: 1.6.0</span>&nbsp;</p>
335 </div>
336 </div>
337
338 <div class="">
339 <h6><a href="ctor.Client.new_for_address.html">gssdp_client_new_for_address</a></h6>
340 <div class="docblock">
341 <p>Creates a <span class="caps">GSSDP</span> client with&nbsp;address <code>addr</code>. If none is specified, <span class="caps">GSSDP</span>
342 will chose the address it deems most&nbsp;suitable.</p>
343 </div>
344 <div class="docblock">
345 <p><span class="emblem available">since: 1.6.0</span></p>
346 </div>
347 </div>
348
349 <div class="">
350 <h6><a href="ctor.Client.new_full.html">gssdp_client_new_full</a></h6>
351 <div class="docblock">
352 <p>Creates a <span class="caps">GSSDP</span> client with&nbsp;address <code>addr</code>. If none is specified, <span class="caps">GSSDP</span>
353 will chose the address it deems most&nbsp;suitable.</p>
354 </div>
355 <div class="docblock">
356 <p><span class="emblem available">since: 1.6.0</span></p>
357 </div>
358 </div>
359
360 <div class="deprecated">
361 <h6><a href="ctor.Client.new_with_port.html">gssdp_client_new_with_port</a></h6>
362 <div class="docblock">
363 <p>Creates a <span class="caps">GSSDP</span> client&nbsp;on <code>iface</code>. GSSDPClient will pick the address it finds
364 suitable for&nbsp;using.</p>
365 </div>
366 <div class="docblock">
367 <p><span class="emblem deprecated">deprecated: 1.6.0</span>&nbsp;</p>
368 </div>
369 </div>
370
371 </div>
372 </div>
373
374
375
376
377
378 <div class="toggle-wrapper methods">
379 <h4 id="methods">
380 Instance methods
381 <a href="#methods" class="anchor"></a>
382 </h4>
383
384 <div class="docblock">
385
386 <div class="">
387 <h6><a href="method.Client.add_cache_entry.html">gssdp_client_add_cache_entry</a></h6>
388 <div class="docblock">
389 <p>Add <code>user_agent</code> for <code>ip_address</code>.</p>
390 </div>
391 <div class="docblock">
392 <p></p>
393 </div>
394 </div>
395
396 <div class="">
397 <h6><a href="method.Client.append_header.html">gssdp_client_append_header</a></h6>
398 <div class="docblock">
399 <p>Adds a header field to the messages sent by&nbsp;this <code>client</code>. It is intended to
400 be used by clients requiring vendor specific header&nbsp;fields.</p>
401 </div>
402 <div class="docblock">
403 <p></p>
404 </div>
405 </div>
406
407 <div class="">
408 <h6><a href="method.Client.can_reach.html">gssdp_client_can_reach</a></h6>
409 <div class="docblock">
410 <p>Check if the peer&nbsp;at <code>address</code> is reachable using&nbsp;this <code>client</code>.</p>
411 </div>
412 <div class="docblock">
413 <p><span class="emblem available">since: 1.2.4</span></p>
414 </div>
415 </div>
416
417 <div class="">
418 <h6><a href="method.Client.clear_headers.html">gssdp_client_clear_headers</a></h6>
419 <div class="docblock">
420 <p>Removes all the headers for&nbsp;this <code>client</code>.</p>
421 </div>
422 <div class="docblock">
423 <p></p>
424 </div>
425 </div>
426
427 <div class="">
428 <h6><a href="method.Client.get_active.html">gssdp_client_get_active</a></h6>
429 <div class="docblock">
430 <p>Get the current state of the client.&nbsp;See <code>GSSDPClient:active</code> for&nbsp;details.</p>
431 </div>
432 <div class="docblock">
433 <p></p>
434 </div>
435 </div>
436
437 <div class="">
438 <h6><a href="method.Client.get_address.html">gssdp_client_get_address</a></h6>
439 <div class="docblock">
440 <p>The <span class="caps">IP</span> address this client works&nbsp;on.</p>
441 </div>
442 <div class="docblock">
443 <p></p>
444 </div>
445 </div>
446
447 <div class="">
448 <h6><a href="method.Client.get_address_mask.html">gssdp_client_get_address_mask</a></h6>
449 <div class="docblock">
450 No description available.
451 </div>
452 <div class="docblock">
453 <p><span class="emblem available">since: 1.2.3</span></p>
454 </div>
455 </div>
456
457 <div class="">
458 <h6><a href="method.Client.get_family.html">gssdp_client_get_family</a></h6>
459 <div class="docblock">
460 No description available.
461 </div>
462 <div class="docblock">
463 <p></p>
464 </div>
465 </div>
466
467 <div class="">
468 <h6><a href="method.Client.get_host_ip.html">gssdp_client_get_host_ip</a></h6>
469 <div class="docblock">
470 <p>Get the <span class="caps">IP</span> address we advertise ourselves as&nbsp;using.</p>
471 </div>
472 <div class="docblock">
473 <p></p>
474 </div>
475 </div>
476
477 <div class="">
478 <h6><a href="method.Client.get_index.html">gssdp_client_get_index</a></h6>
479 <div class="docblock">
480 No description available.
481 </div>
482 <div class="docblock">
483 <p></p>
484 </div>
485 </div>
486
487 <div class="">
488 <h6><a href="method.Client.get_interface.html">gssdp_client_get_interface</a></h6>
489 <div class="docblock">
490 <p>Get the name of the network interface associated&nbsp;to <code>client</code>.</p>
491 </div>
492 <div class="docblock">
493 <p></p>
494 </div>
495 </div>
496
497 <div class="">
498 <h6><a href="method.Client.get_network.html">gssdp_client_get_network</a></h6>
499 <div class="docblock">
500 <p>Get the network identifier of the client.&nbsp;See <code>GSSDPClient:network</code>
501 for&nbsp;details.</p>
502 </div>
503 <div class="docblock">
504 <p></p>
505 </div>
506 </div>
507
508 <div class="">
509 <h6><a href="method.Client.get_port.html">gssdp_client_get_port</a></h6>
510 <div class="docblock">
511 No description available.
512 </div>
513 <div class="docblock">
514 <p></p>
515 </div>
516 </div>
517
518 <div class="">
519 <h6><a href="method.Client.get_server_id.html">gssdp_client_get_server_id</a></h6>
520 <div class="docblock">
521 No description available.
522 </div>
523 <div class="docblock">
524 <p></p>
525 </div>
526 </div>
527
528 <div class="">
529 <h6><a href="method.Client.get_tcp_socket.html">gssdp_client_get_tcp_socket</a></h6>
530 <div class="docblock">
531 <p>Get the associated <span class="caps">TCP</span>&nbsp;socket.</p>
532 </div>
533 <div class="docblock">
534 <p><span class="emblem available">since: 1.6.5</span></p>
535 </div>
536 </div>
537
538 <div class="">
539 <h6><a href="method.Client.get_uda_version.html">gssdp_client_get_uda_version</a></h6>
540 <div class="docblock">
541 No description available.
542 </div>
543 <div class="docblock">
544 <p></p>
545 </div>
546 </div>
547
548 <div class="">
549 <h6><a href="method.Client.guess_user_agent.html">gssdp_client_guess_user_agent</a></h6>
550 <div class="docblock">
551 <p>Try to get a User-Agent&nbsp;for <code>ip_address</code>.</p>
552 </div>
553 <div class="docblock">
554 <p></p>
555 </div>
556 </div>
557
558 <div class="">
559 <h6><a href="method.Client.remove_header.html">gssdp_client_remove_header</a></h6>
560 <div class="docblock">
561 <p>Removes <code>name</code> from the list of headers. If there are multiple values&nbsp;for
562 <code>name</code>, they are all&nbsp;removed.</p>
563 </div>
564 <div class="docblock">
565 <p></p>
566 </div>
567 </div>
568
569 <div class="">
570 <h6><a href="method.Client.set_boot_id.html">gssdp_client_set_boot_id</a></h6>
571 <div class="docblock">
572 <p>Will set the new boot-id for this <span class="caps">SSDP</span> client. Does nothing if the <span class="caps">UDA</span>
573 version used by the client is <span class="caps">UDA</span>&nbsp;1.0.</p>
574 </div>
575 <div class="docblock">
576 <p></p>
577 </div>
578 </div>
579
580 <div class="">
581 <h6><a href="method.Client.set_config_id.html">gssdp_client_set_config_id</a></h6>
582 <div class="docblock">
583 <p>The config-id is used to allow caching of the device or service description.
584 It should be changed if that&nbsp;changes.</p>
585 </div>
586 <div class="docblock">
587 <p></p>
588 </div>
589 </div>
590
591 <div class="">
592 <h6><a href="method.Client.set_network.html">gssdp_client_set_network</a></h6>
593 <div class="docblock">
594 <p>Sets the network identification&nbsp;of <code>client</code> to <code>network</code>.</p>
595 </div>
596 <div class="docblock">
597 <p></p>
598 </div>
599 </div>
600
601 <div class="">
602 <h6><a href="method.Client.set_server_id.html">gssdp_client_set_server_id</a></h6>
603 <div class="docblock">
604 <p>Sets the server <span class="caps">ID</span>&nbsp;of <code>client</code> to <code>server_id</code>. This string is used as the
605 &#8220;Server:&#8221; identification header for <span class="caps">SSDP</span> discovery and response packets
606 and &#8220;User-Agent&#8221; header for&nbsp;searches.</p>
607 </div>
608 <div class="docblock">
609 <p></p>
610 </div>
611 </div>
612
613 </div>
614
615
616
617 <div class="toggle-wrapper default-hide ancestor-methods"><h5 style="display:block;">Methods inherited from <a class="external" href="javascript:void(0)" data-link="class.Object.html" data-namespace="GObject">GObject</a> (43)</h5>
618 <div class="docblock">
619
620 <div class="docblock">
621 <p>Please see&nbsp;<a class="external" href="javascript:void(0)" data-link="class.Object.html#methods" data-namespace="GObject">GObject</a>&nbsp;for a full list of methods.</em></p>
622 </div>
623
624 </div>
625 </div>
626
627
628
629
630
631 <div class="toggle-wrapper default-hide ancestor-methods"><h5 style="display:block;">Methods inherited from <a class="external" href="javascript:void(0)" data-link="iface.Initable.html" data-namespace="Gio">GInitable</a> (1)</h5>
632 <div class="docblock">
633 <h6><a class="external" href="javascript:void(0)" data-namespace="Gio" data-link="method.Initable.init.html">g_initable_init</a></h6>
634 <div class="docblock">
635 <p>Initializes the object implementing the&nbsp;interface.</p>
636 </div>
637 </div>
638 </div>
639
640
641 </div>
642
643
644
645 <div class="toggle-wrapper properties">
646 <h4 id="properties">
647 Properties
648 <a href="#properties" class="anchor"></a>
649 </h4>
650
651
652 <div class="docblock">
653
654 <div class="">
655 <h6><a href="property.Client.active.html">GSSDP.Client:active</a></h6>
656 <div class="docblock">
657 <p>Whether this client is active or not (passive). When active
658 (default), the client sends messages on the network, otherwise
659 not. In most cases, you don&#8217;t want to touch this&nbsp;property.</p>
660 </div>
661 <div class="docblock">
662 <p></p>
663 </div>
664 </div>
665
666 <div class="">
667 <h6><a href="property.Client.address.html">GSSDP.Client:address</a></h6>
668 <div class="docblock">
669 <p>The network address this client is bound&nbsp;to.</p>
670 </div>
671 <div class="docblock">
672 <p><span class="emblem available">since: 1.6</span></p>
673 </div>
674 </div>
675
676 <div class="">
677 <h6><a href="property.Client.address-family.html">GSSDP.Client:address-family</a></h6>
678 <div class="docblock">
679 <p>The <span class="caps">IP</span> protocol address family this client works on. When specified
680 during construction without giving a concrete address, it will be
681 used to determine the proper&nbsp;address.</p>
682 </div>
683 <div class="docblock">
684 <p><span class="emblem available">since: 1.2.0</span></p>
685 </div>
686 </div>
687
688 <div class="">
689 <h6><a href="property.Client.allocate-tcp-socket.html">GSSDP.Client:allocate-tcp-socket</a></h6>
690 <div class="docblock">
691 <p>The whether to allocate a <span class="caps">TCP</span> socket. Mainly used by GUPnPContext
692 to signalize that it can handle a pre-allocated socket. Will become
693 non-configurable default-on in a future&nbsp;release.</p>
694 </div>
695 <div class="docblock">
696 <p><span class="emblem available">since: 1.6.5</span></p>
697 </div>
698 </div>
699
700 <div class="">
701 <h6><a href="property.Client.boot-id.html">GSSDP.Client:boot-id</a></h6>
702 <div class="docblock">
703 <p>The value of the <span class="caps">BOOTID</span>.<span class="caps">UPNP</span>.<span class="caps">ORG</span>&nbsp;header.</p>
704 </div>
705 <div class="docblock">
706 <p></p>
707 </div>
708 </div>
709
710 <div class="">
711 <h6><a href="property.Client.config-id.html">GSSDP.Client:config-id</a></h6>
712 <div class="docblock">
713 <p>The value of the <span class="caps">CONFIGID</span>.<span class="caps">UPNP</span>.<span class="caps">ORG</span>&nbsp;header.</p>
714 </div>
715 <div class="docblock">
716 <p></p>
717 </div>
718 </div>
719
720 <div class="deprecated">
721 <h6><a href="property.Client.host-ip.html">GSSDP.Client:host-ip</a></h6>
722 <div class="docblock">
723 <p>The <span class="caps">IP</span> address of the assoicated network&nbsp;interface.</p>
724 </div>
725 <div class="docblock">
726 <p><span class="emblem deprecated">deprecated: 1.6.0</span>&nbsp;</p>
727 </div>
728 </div>
729
730 <div class="">
731 <h6><a href="property.Client.host-mask.html">GSSDP.Client:host-mask</a></h6>
732 <div class="docblock">
733 <p>The network mask of the assoicated network&nbsp;interface.</p>
734 </div>
735 <div class="docblock">
736 <p></p>
737 </div>
738 </div>
739
740 <div class="">
741 <h6><a href="property.Client.interface.html">GSSDP.Client:interface</a></h6>
742 <div class="docblock">
743 <p>The name of the network interface this client is associated with.
744 Set to <span class="caps">NULL</span> to&nbsp;autodetect.</p>
745 </div>
746 <div class="docblock">
747 <p></p>
748 </div>
749 </div>
750
751 <div class="deprecated">
752 <h6><a href="property.Client.msearch-port.html">GSSDP.Client:msearch-port</a></h6>
753 <div class="docblock">
754 <p><span class="caps">UDP</span> port to use for sending multicast M-<span class="caps">SEARCH</span> requests on the
755 network. If not set (or set to 0) a random port will be used.
756 This property can be only set during object&nbsp;construction.</p>
757 </div>
758 <div class="docblock">
759 <p><span class="emblem deprecated">deprecated: 1.6.0</span>&nbsp;</p>
760 </div>
761 </div>
762
763 <div class="">
764 <h6><a href="property.Client.network.html">GSSDP.Client:network</a></h6>
765 <div class="docblock">
766 <p>The network this client is currently connected to. You could set this
767 to anything you want to identify the network this client is
768 associated with. If you are&nbsp;using <code>GUPnPContextManager</code> and associated
769 interface is a WiFi interface, this property is set to the <span class="caps">ESSID</span> of
770 the network. Otherwise, expect this to be the network <span class="caps">IP</span> address by&nbsp;default.</p>
771 </div>
772 <div class="docblock">
773 <p></p>
774 </div>
775 </div>
776
777 <div class="">
778 <h6><a href="property.Client.port.html">GSSDP.Client:port</a></h6>
779 <div class="docblock">
780 <p><span class="caps">UDP</span> port to use for sending multicast M-<span class="caps">SEARCH</span> requests on the
781 network. If not set (or set to 0) a random port will be used.
782 This property can be only set during object&nbsp;construction.</p>
783 </div>
784 <div class="docblock">
785 <p><span class="emblem available">since: 1.6.0</span></p>
786 </div>
787 </div>
788
789 <div class="">
790 <h6><a href="property.Client.server-id.html">GSSDP.Client:server-id</a></h6>
791 <div class="docblock">
792 <p>The <span class="caps">SSDP</span> server&#8217;s&nbsp;identifier.</p>
793 </div>
794 <div class="docblock">
795 <p></p>
796 </div>
797 </div>
798
799 <div class="">
800 <h6><a href="property.Client.socket-ttl.html">GSSDP.Client:socket-ttl</a></h6>
801 <div class="docblock">
802 <p>Time-to-live value to use for all sockets created by this client.
803 If not set (or set to 0) the value recommended by UPnP will be used.
804 This property can only be set during object&nbsp;construction.</p>
805 </div>
806 <div class="docblock">
807 <p></p>
808 </div>
809 </div>
810
811 <div class="">
812 <h6><a href="property.Client.tcp-socket.html">GSSDP.Client:tcp-socket</a></h6>
813 <div class="docblock">
814 <p>The allocated <span class="caps">TCP</span> socket bound to the same port&nbsp;as <code>GSSDPClient:port</code>.</p>
815 </div>
816 <div class="docblock">
817 <p><span class="emblem available">since: 1.6.5</span></p>
818 </div>
819 </div>
820
821 <div class="">
822 <h6><a href="property.Client.uda-version.html">GSSDP.Client:uda-version</a></h6>
823 <div class="docblock">
824 <p>The UPnP version the client adheres&nbsp;to.</p>
825 </div>
826 <div class="docblock">
827 <p><span class="emblem available">since: 1.2.0</span></p>
828 </div>
829 </div>
830
831 </div>
832
833
834
835
836
837
838
839
840
841
842 </div>
843
844
845
846 <div class="signals toggle-wrapper">
847 <h4 id="signals">
848 Signals
849 <a href="#signals" class="anchor"></a>
850 </h4>
851
852
853 <div class="docblock">
854
855 <div class="">
856 <h6><a href="signal.Client.message-received.html">GSSDP.Client::message-received</a></h6>
857 <div class="docblock">
858 <p>Internal&nbsp;signal.</p>
859 </div>
860 <div class="docblock">
861 <p></p>
862 </div>
863 </div>
864
865 </div>
866
867
868
869
870 <div class="toggle-wrapper default-hide ancestor-signals"><h5 style="display:block;">Signals inherited from <a class="external" href="javascript:void(0)" data-link="class.Object.html" data-namespace="GObject">GObject</a> (1)</h5>
871 <div class="docblock">
872 <h6><a class="external" href="javascript:void(0)" data-namespace="GObject" data-link="signal.Object.notify.html">GObject::notify</a></h6>
873 <div class="docblock">
874 <p>The notify signal is emitted on an object when one of its properties has
875 its value set through g_object_set_property(), g_object_set(), et&nbsp;al.</p>
876 </div>
877 </div>
878 </div>
879
880
881
882
883
884
885
886 </div>
887
888
889
890 <div class="class toggle-wrapper default-hide">
891 <h4 id="class-struct">
892 Class structure
893 <a href="#class-struct" class="anchor"></a>
894 </h4>
895
896 <div class="docblock">
897 <pre><code>struct GSSDPClientClass {
898 GObjectClass parent_class;
899 void (* _gssdp_reserved1) (
900 void
901 );
902 void (* _gssdp_reserved2) (
903 void
904 );
905 void (* _gssdp_reserved3) (
906 void
907 );
908 void (* _gssdp_reserved4) (
909 void
910 );
911
912 }</code></pre>
913 </div>
914
915 <div class="docblock">
916 <p>No description available.</p>
917 </div>
918
919
920 <div class="docblock">
921 <h6>Class members</h6>
922
923 <dl class="members">
924
925 <dt><code>parent_class: GObjectClass</code></dt>
926 <dd><p>No description available.</p></dd>
927
928 <dt><code>_gssdp_reserved1: void (* _gssdp_reserved1) (
929 void
930 )</code></dt>
931 <dd><p>No description available.</p></dd>
932
933 <dt><code>_gssdp_reserved2: void (* _gssdp_reserved2) (
934 void
935 )</code></dt>
936 <dd><p>No description available.</p></dd>
937
938 <dt><code>_gssdp_reserved3: void (* _gssdp_reserved3) (
939 void
940 )</code></dt>
941 <dd><p>No description available.</p></dd>
942
943 <dt><code>_gssdp_reserved4: void (* _gssdp_reserved4) (
944 void
945 )</code></dt>
946 <dd><p>No description available.</p></dd>
947
948 </dd>
949 </div>
950
951 </div>
952
953
954
955
956
957
958 </section>
959 </section>
960
961
962
963 <div id="toc" class="toc">
964 <nav aria-labelledby="toc-title">
965 <p id="toc-title">Content</p>
966 <ul class="toc-list">
967 <li class="toc-list-item"><a href="#description"><span class="link-text">Description</span></a></li>
968
969
970
971 <li class="toc-list-item"><a href="#ancestors"><span class="link-text">Ancestors</span></a></li>
972
973
974 <li class="toc-list-item"><a href="#implements"><span class="link-text">Implements</span></a></li>
975
976
977 <li class="toc-list-item"><a href="#constructors"><span class="link-text">Constructors</span></a></li>
978
979
980
981
982
983 <li class="toc-list-item"><a href="#methods"><span class="link-text">Methods</span></a></li>
984
985
986
987 <li class="toc-list-item"><a href="#properties"><span class="link-text">Properties</span></a></li>
988
989
990
991 <li class="toc-list-item"><a href="#signals"><span class="link-text">Signals</span></a></li>
992
993
994
995
996
997
998 </ul>
999 </nav>
1000 </div>
1001
1002
1003 <section id="search" class="content hidden"></section>
1004
1005 <footer>
1006
1007 </footer>
1008 </div>
1009 </body>
1010 </html>