1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Starshatter_Open: NetClient Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Starshatter_Open
</div>
<div id="projectbrief">Open source Starshatter engine</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_net_client.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="#pro-attribs">Protected Attributes</a> </div>
<div class="headertitle">
<div class="title">NetClient Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <<a class="el" href="_net_client_8h_source.html">NetClient.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for NetClient:</div>
<div class="dyncontent">
<div class="center">
<img src="class_net_client.png" usemap="#NetClient_map" alt=""/>
<map id="NetClient_map" name="NetClient_map">
<area href="class_http_client.html" alt="HttpClient" shape="rect" coords="0,56,66,80"/>
</map>
</div></div>
<p><a href="class_net_client-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a8f011d02f49d559d984850e1c1c5dbec"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbec">ERRS</a> { <br/>
  <a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbecae2cb9f050090e5f2d93f6d6423ce4ffa">ERR_INTR</a> = 10004,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbecae2a4314823e8493e58710db5d0345aae">ERR_BADF</a> = 10009,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca7e6f52a63f88e6c710cfa09023f12bae">ERR_ACCES</a> = 10013,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca5ed9a9beb641e00e9b755c3198c5f20a">ERR_FAULT</a> = 10014,
<br/>
  <a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca5e9512d9fe3de344c2d85c9dc0f7421a">ERR_INVAL</a> = 10022,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca1f7976463367fc8000a387bf87096cff">ERR_MFILE</a> = 10024,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca5f51842e7fe98d46d570d8eec1c8912d">ERR_WOULDBLOCK</a> = 10035,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbecae6ac93308e0b04d29582a43f487eef69">ERR_INPROGRESS</a> = 10036,
<br/>
  <a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbecadce227922fcaf4a08ebc42baaf0fcff3">ERR_ALREADY</a> = 10037,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbecaec714d4edc75110a8d26b3083b550437">ERR_NOTSOCK</a> = 10038,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca019c05ac9716a28ea02ae333b6209c2e">ERR_DESTADDRREQ</a> = 10039,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca59330cee32a71bd1fa22989c80946456">ERR_MSGSIZE</a> = 10040,
<br/>
  <a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca6e9c3f96cab68e7bc78cd009229b51a6">ERR_PROTOTYPE</a> = 10041,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca2c27a8391fd44334148f84a64bfede4f">ERR_NOPROTOOPT</a> = 10042,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca550a4b475b625b7bfb064a316a34c1c6">ERR_PROTONOSUPPORT</a> = 10043,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbecae259430c4f2a56835dce450dc3319b88">ERR_SOCKTNOSUPPORT</a> = 10044,
<br/>
  <a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca3fbe7c7581763114ec90449efb07fb65">ERR_OPNOTSUPP</a> = 10045,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca54bfe7e263a650e1f7f8384b48433763">ERR_PFNOSUPPORT</a> = 10046,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca73adc3a8a56c0399331f47d665fe5e6a">ERR_AFNOSUPPORT</a> = 10047,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbecad1cd4879077663747b8d71a7fd934cc5">ERR_ADDRINUSE</a> = 10048,
<br/>
  <a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca2d31539f9e6b40ea3210ebe9a29c5e36">ERR_ADDRNOTAVAIL</a> = 10049,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca39bd0065c87d8c7c01fba8f3019e6734">ERR_NETDOWN</a> = 10050,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca6f98d3905ebafc17d2b2805bfb8dd5a4">ERR_NETUNREACH</a> = 10051,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca4ade516f6390f19fe11e1a7f41feed77">ERR_NETRESET</a> = 10052,
<br/>
  <a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca34466075dbdcb420748d2ff9446d52b8">ERR_CONNABORTED</a> = 10053,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbecac2054db21069feb7583c927d5fe79d3a">ERR_CONNRESET</a> = 10054,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbecab6c213269dc16477698feff145d59357">ERR_NOBUFS</a> = 10055,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbecab9cb416c93e6be837a32e91ab7bdcad1">ERR_ISCONN</a> = 10056,
<br/>
  <a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca158e1eb4ccb745e44c58e65c5aee61d0">ERR_NOTCONN</a> = 10057,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca0b4583a1debcb39a4b05e20e07d5e7fb">ERR_SHUTDOWN</a> = 10058,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca15daf5ec077a9dc68aefb766e8972498">ERR_TOOMANYREFS</a> = 10059,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca71c29280550629cbb4ad1ca6aefb169a">ERR_TIMEDOUT</a> = 10060,
<br/>
  <a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbecaae0a71306ba8d5d5eece3f2421037981">ERR_CONNREFUSED</a> = 10061,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbecacdb3ab1e7b5b704a4c8459920b09f0ba">ERR_LOOP</a> = 10062,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca6d0914257506f08fdcea6dde1a09d485">ERR_NAMETOOLONG</a> = 10063,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbecad84115d03f4d7cfb289c4c591f0b0561">ERR_HOSTDOWN</a> = 10064,
<br/>
  <a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca04f09579d858e8614b66c67676582d7b">ERR_HOSTUNREACH</a> = 10065,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbecafb9d35496619a03bcfa3cd5297b3cef9">ERR_NOTEMPTY</a> = 10066,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca6e026ecf86fe5f05926a54b6ef43ecd5">ERR_PROCLIM</a> = 10067,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbecaa786f9593225dfbe172cdbe2428513b8">ERR_USERS</a> = 10068,
<br/>
  <a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbecaa8fc0e215bf4bc0c38f3771e396d20c4">ERR_DQUOT</a> = 10069,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca61c3bf0417b385aefaa4719b6fdf0f1e">ERR_STALE</a> = 10070,
<a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbeca791109b2f70fcf0731c69d95cc151e8e">ERR_REMOTE</a> = 10071
<br/>
}</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a26628dd31c62eb6b259807cf1721a9cd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_net_client.html#a26628dd31c62eb6b259807cf1721a9cd">NetClient</a> (const <a class="el" href="class_net_addr.html">NetAddr</a> &server_addr)</td></tr>
<tr class="memitem:ab5be9c5b6deb28995a8026179c07206b"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_net_client.html#ab5be9c5b6deb28995a8026179c07206b">~NetClient</a> ()</td></tr>
<tr class="memitem:a150469cf2be99b6eb16fd36dbd97c322"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_net_client.html#a150469cf2be99b6eb16fd36dbd97c322">operator==</a> (const <a class="el" href="class_net_client.html">NetClient</a> &c) const </td></tr>
<tr class="memitem:a8b34ab926657814301b11e0934cccd1f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_net_addr.html">NetAddr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_net_client.html#a8b34ab926657814301b11e0934cccd1f">GetServerAddr</a> () const </td></tr>
<tr class="memitem:a4159ac7c84c2c9e3bc7938030fa2d2f3"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_net_client.html#a4159ac7c84c2c9e3bc7938030fa2d2f3">Send</a> (<a class="el" href="class_text.html">Text</a> msg)</td></tr>
<tr class="memitem:a43fb74f34d854bc49d47cf078590dc0a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_text.html">Text</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_net_client.html#a43fb74f34d854bc49d47cf078590dc0a">Recv</a> ()</td></tr>
<tr class="memitem:a91b174d5615c7c0e2fc6ee791c3163ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_text.html">Text</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_net_client.html#a91b174d5615c7c0e2fc6ee791c3163ad">SendRecv</a> (<a class="el" href="class_text.html">Text</a> msg)</td></tr>
<tr class="memitem:a4b003c0323cdeddf35843660d61a1301"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_net_client.html#a4b003c0323cdeddf35843660d61a1301">GetLastError</a> () const </td></tr>
<tr class="memitem:a0e8366224ea216bb7c54eff5212bdf5a"><td class="memItemLeft" align="right" valign="top">DWORD </td><td class="memItemRight" valign="bottom"><a class="el" href="class_net_client.html#a0e8366224ea216bb7c54eff5212bdf5a">GetTime</a> () const </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a23d525ad7c3a7840dbafa47f348b34cd"><td class="memItemLeft" align="right" valign="top">static const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_net_client.html#a23d525ad7c3a7840dbafa47f348b34cd">TYPENAME</a> ()</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a35fb0d886c48193c83314b1866d0cc66"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_net_addr.html">NetAddr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_net_client.html#a35fb0d886c48193c83314b1866d0cc66">addr</a></td></tr>
<tr class="memitem:afd69046d63401dc9a936a09d8b20e586"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_net_sock.html">NetSock</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_net_client.html#afd69046d63401dc9a936a09d8b20e586">sock</a></td></tr>
<tr class="memitem:a1051cbc829454d033c8f09d316b2c695"><td class="memItemLeft" align="right" valign="top">DWORD </td><td class="memItemRight" valign="bottom"><a class="el" href="class_net_client.html#a1051cbc829454d033c8f09d316b2c695">delta</a></td></tr>
<tr class="memitem:a42b9a4b94fcd4db08cd84dca89d38e75"><td class="memItemLeft" align="right" valign="top">DWORD </td><td class="memItemRight" valign="bottom"><a class="el" href="class_net_client.html#a42b9a4b94fcd4db08cd84dca89d38e75">time</a></td></tr>
<tr class="memitem:a54887bb8ad8fc4d0fd0ba90e37313e77"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_net_client.html#a54887bb8ad8fc4d0fd0ba90e37313e77">err</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_net_client_8h_source.html#l00027">27</a> of file <a class="el" href="_net_client_8h_source.html">NetClient.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbec"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="class_net_client.html#a8f011d02f49d559d984850e1c1c5dbec">NetClient::ERRS</a></td>
</tr>
</table>
</div><div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbecae2cb9f050090e5f2d93f6d6423ce4ffa"></a>ERR_INTR</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbecae2a4314823e8493e58710db5d0345aae"></a>ERR_BADF</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca7e6f52a63f88e6c710cfa09023f12bae"></a>ERR_ACCES</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca5ed9a9beb641e00e9b755c3198c5f20a"></a>ERR_FAULT</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca5e9512d9fe3de344c2d85c9dc0f7421a"></a>ERR_INVAL</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca1f7976463367fc8000a387bf87096cff"></a>ERR_MFILE</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca5f51842e7fe98d46d570d8eec1c8912d"></a>ERR_WOULDBLOCK</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbecae6ac93308e0b04d29582a43f487eef69"></a>ERR_INPROGRESS</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbecadce227922fcaf4a08ebc42baaf0fcff3"></a>ERR_ALREADY</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbecaec714d4edc75110a8d26b3083b550437"></a>ERR_NOTSOCK</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca019c05ac9716a28ea02ae333b6209c2e"></a>ERR_DESTADDRREQ</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca59330cee32a71bd1fa22989c80946456"></a>ERR_MSGSIZE</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca6e9c3f96cab68e7bc78cd009229b51a6"></a>ERR_PROTOTYPE</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca2c27a8391fd44334148f84a64bfede4f"></a>ERR_NOPROTOOPT</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca550a4b475b625b7bfb064a316a34c1c6"></a>ERR_PROTONOSUPPORT</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbecae259430c4f2a56835dce450dc3319b88"></a>ERR_SOCKTNOSUPPORT</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca3fbe7c7581763114ec90449efb07fb65"></a>ERR_OPNOTSUPP</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca54bfe7e263a650e1f7f8384b48433763"></a>ERR_PFNOSUPPORT</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca73adc3a8a56c0399331f47d665fe5e6a"></a>ERR_AFNOSUPPORT</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbecad1cd4879077663747b8d71a7fd934cc5"></a>ERR_ADDRINUSE</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca2d31539f9e6b40ea3210ebe9a29c5e36"></a>ERR_ADDRNOTAVAIL</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca39bd0065c87d8c7c01fba8f3019e6734"></a>ERR_NETDOWN</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca6f98d3905ebafc17d2b2805bfb8dd5a4"></a>ERR_NETUNREACH</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca4ade516f6390f19fe11e1a7f41feed77"></a>ERR_NETRESET</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca34466075dbdcb420748d2ff9446d52b8"></a>ERR_CONNABORTED</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbecac2054db21069feb7583c927d5fe79d3a"></a>ERR_CONNRESET</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbecab6c213269dc16477698feff145d59357"></a>ERR_NOBUFS</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbecab9cb416c93e6be837a32e91ab7bdcad1"></a>ERR_ISCONN</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca158e1eb4ccb745e44c58e65c5aee61d0"></a>ERR_NOTCONN</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca0b4583a1debcb39a4b05e20e07d5e7fb"></a>ERR_SHUTDOWN</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca15daf5ec077a9dc68aefb766e8972498"></a>ERR_TOOMANYREFS</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca71c29280550629cbb4ad1ca6aefb169a"></a>ERR_TIMEDOUT</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbecaae0a71306ba8d5d5eece3f2421037981"></a>ERR_CONNREFUSED</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbecacdb3ab1e7b5b704a4c8459920b09f0ba"></a>ERR_LOOP</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca6d0914257506f08fdcea6dde1a09d485"></a>ERR_NAMETOOLONG</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbecad84115d03f4d7cfb289c4c591f0b0561"></a>ERR_HOSTDOWN</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca04f09579d858e8614b66c67676582d7b"></a>ERR_HOSTUNREACH</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbecafb9d35496619a03bcfa3cd5297b3cef9"></a>ERR_NOTEMPTY</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca6e026ecf86fe5f05926a54b6ef43ecd5"></a>ERR_PROCLIM</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbecaa786f9593225dfbe172cdbe2428513b8"></a>ERR_USERS</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbecaa8fc0e215bf4bc0c38f3771e396d20c4"></a>ERR_DQUOT</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca61c3bf0417b385aefaa4719b6fdf0f1e"></a>ERR_STALE</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8f011d02f49d559d984850e1c1c5dbeca791109b2f70fcf0731c69d95cc151e8e"></a>ERR_REMOTE</em> </td><td>
</td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_net_client_8h_source.html#l00054">54</a> of file <a class="el" href="_net_client_8h_source.html">NetClient.h</a>.</p>
</div>
</div>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a26628dd31c62eb6b259807cf1721a9cd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">NetClient::NetClient </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_net_addr.html">NetAddr</a> & </td>
<td class="paramname"><em>server_addr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_net_client_8cpp_source.html#l00024">24</a> of file <a class="el" href="_net_client_8cpp_source.html">NetClient.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="ab5be9c5b6deb28995a8026179c07206b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">NetClient::~NetClient </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_net_client_8cpp_source.html#l00029">29</a> of file <a class="el" href="_net_client_8cpp_source.html">NetClient.cpp</a>.</p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a4b003c0323cdeddf35843660d61a1301"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int NetClient::GetLastError </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_net_client_8h_source.html#l00043">43</a> of file <a class="el" href="_net_client_8h_source.html">NetClient.h</a>.</p>
</div>
</div>
<a class="anchor" id="a8b34ab926657814301b11e0934cccd1f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_net_addr.html">NetAddr</a> NetClient::GetServerAddr </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_net_client_8h_source.html#l00037">37</a> of file <a class="el" href="_net_client_8h_source.html">NetClient.h</a>.</p>
</div>
</div>
<a class="anchor" id="a0e8366224ea216bb7c54eff5212bdf5a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">DWORD NetClient::GetTime </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_net_client_8h_source.html#l00044">44</a> of file <a class="el" href="_net_client_8h_source.html">NetClient.h</a>.</p>
</div>
</div>
<a class="anchor" id="a150469cf2be99b6eb16fd36dbd97c322"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int NetClient::operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_net_client.html">NetClient</a> & </td>
<td class="paramname"><em>c</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_net_client_8h_source.html#l00035">35</a> of file <a class="el" href="_net_client_8h_source.html">NetClient.h</a>.</p>
</div>
</div>
<a class="anchor" id="a43fb74f34d854bc49d47cf078590dc0a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_text.html">Text</a> NetClient::Recv </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_net_client_8cpp_source.html#l00076">76</a> of file <a class="el" href="_net_client_8cpp_source.html">NetClient.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a4159ac7c84c2c9e3bc7938030fa2d2f3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool NetClient::Send </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_text.html">Text</a> </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_net_client_8cpp_source.html#l00037">37</a> of file <a class="el" href="_net_client_8cpp_source.html">NetClient.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a91b174d5615c7c0e2fc6ee791c3163ad"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_text.html">Text</a> NetClient::SendRecv </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_text.html">Text</a> </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_net_client_8cpp_source.html#l00107">107</a> of file <a class="el" href="_net_client_8cpp_source.html">NetClient.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a23d525ad7c3a7840dbafa47f348b34cd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static const char* NetClient::TYPENAME </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reimplemented in <a class="el" href="class_http_client.html#ae6339de40c4e0d475a8a06f91b6b991b">HttpClient</a>.</p>
<p>Definition at line <a class="el" href="_net_client_8h_source.html#l00030">30</a> of file <a class="el" href="_net_client_8h_source.html">NetClient.h</a>.</p>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a35fb0d886c48193c83314b1866d0cc66"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_net_addr.html">NetAddr</a> NetClient::addr</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_net_client_8h_source.html#l00047">47</a> of file <a class="el" href="_net_client_8h_source.html">NetClient.h</a>.</p>
</div>
</div>
<a class="anchor" id="a1051cbc829454d033c8f09d316b2c695"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">DWORD NetClient::delta</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_net_client_8h_source.html#l00049">49</a> of file <a class="el" href="_net_client_8h_source.html">NetClient.h</a>.</p>
</div>
</div>
<a class="anchor" id="a54887bb8ad8fc4d0fd0ba90e37313e77"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int NetClient::err</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_net_client_8h_source.html#l00051">51</a> of file <a class="el" href="_net_client_8h_source.html">NetClient.h</a>.</p>
</div>
</div>
<a class="anchor" id="afd69046d63401dc9a936a09d8b20e586"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_net_sock.html">NetSock</a>* NetClient::sock</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_net_client_8h_source.html#l00048">48</a> of file <a class="el" href="_net_client_8h_source.html">NetClient.h</a>.</p>
</div>
</div>
<a class="anchor" id="a42b9a4b94fcd4db08cd84dca89d38e75"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">DWORD NetClient::time</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_net_client_8h_source.html#l00050">50</a> of file <a class="el" href="_net_client_8h_source.html">NetClient.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>D:/SRC/StarshatterSVN/NetEx/<a class="el" href="_net_client_8h_source.html">NetClient.h</a></li>
<li>D:/SRC/StarshatterSVN/NetEx/<a class="el" href="_net_client_8cpp_source.html">NetClient.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="class_net_client.html">NetClient</a></li>
<li class="footer">Generated on Thu May 31 2012 16:32:07 for Starshatter_Open by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li>
</ul>
</div>
</body>
</html>
|